Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002437/0.002436, allocations: 184.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 85.31 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2695/0.2695, allocations: 37.97 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.787e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5029/0.6309, allocations: 102 MB / 0.5616 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.6314, allocations: 91.92 kB / 0.5617 GB, free: 1.688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0876/0.719, allocations: 14.59 MB / 0.5759 GB, free: 2.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7191, allocations: 0 / 0.5759 GB, free: 2.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.359e-05/0.7191, allocations: 12 kB / 0.576 GB, free: 2.922 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00226/0.7214, allocations: 0.6758 MB / 0.5766 GB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.7215, allocations: 8.031 kB / 0.5766 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.7229, allocations: 91.38 kB / 0.5767 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.7275, allocations: 0.8651 MB / 0.5776 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.7276, allocations: 29 kB / 0.5776 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.7278, allocations: 36 kB / 0.5776 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.7298, allocations: 0.6368 MB / 0.5782 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.7299, allocations: 4 kB / 0.5782 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.73, allocations: 19.98 kB / 0.5783 GB, free: 416 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.7302, allocations: 40.7 kB / 0.5783 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.732, allocations: 454.7 kB / 0.5787 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007086/0.7391, allocations: 3.04 MB / 0.5817 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7402, allocations: 253.3 kB / 0.5819 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.7407, allocations: 149.2 kB / 0.5821 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.7408, allocations: 11.92 kB / 0.5821 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.7408, allocations: 38.56 kB / 0.5821 GB, free: 12.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.368e-06/0.7408, allocations: 0 / 0.5821 GB, free: 12.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.003229/0.7441, allocations: 0.904 MB / 0.583 GB, free: 11.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.7442, allocations: 81.09 kB / 0.5831 GB, free: 11.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.7449, allocations: 282.6 kB / 0.5834 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.745, allocations: 25.7 kB / 0.5834 GB, free: 10.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.7453, allocations: 338 kB / 0.5837 GB, free: 10.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.7455, allocations: 94.66 kB / 0.5838 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.7456, allocations: 8 kB / 0.5838 GB, free: 10.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.7458, allocations: 334.8 kB / 0.5841 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.7464, allocations: 145 kB / 0.5843 GB, free: 9.953 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.7472, allocations: 319.3 kB / 0.5846 GB, free: 9.555 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.7479, allocations: 204.8 kB / 0.5848 GB, free: 9.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.7479, allocations: 4 kB / 0.5848 GB, free: 9.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002158/0.7501, allocations: 0.6002 MB / 0.5854 GB, free: 8.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7502, allocations: 8 kB / 0.5854 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001205/0.7514, allocations: 378.5 kB / 0.5857 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.7521, allocations: 113.6 kB / 0.5858 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.7527, allocations: 80.11 kB / 0.5859 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.7568, allocations: 3.034 MB / 0.5889 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.7574, allocations: 19.98 kB / 0.5889 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.7575, allocations: 20 kB / 0.5889 GB, free: 4.824 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.7576, allocations: 133.1 kB / 0.589 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7578, allocations: 31.62 kB / 0.5891 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.7588, allocations: 373.2 kB / 0.5894 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.7589, allocations: 11.98 kB / 0.5894 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7589, allocations: 0 / 0.5894 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.7589, allocations: 8 kB / 0.5894 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.7611, allocations: 0.8632 MB / 0.5903 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7611, allocations: 0 / 0.5903 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.7619, allocations: 75.81 kB / 0.5904 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.7619, allocations: 4 kB / 0.5904 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.762, allocations: 8 kB / 0.5904 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.762, allocations: 0 / 0.5904 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.762, allocations: 8.062 kB / 0.5904 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.7634, allocations: 0.6124 MB / 0.591 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.7637, allocations: 124.8 kB / 0.5911 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.7637, allocations: 11.95 kB / 0.5911 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.7641, allocations: 11.98 kB / 0.5911 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.7642, allocations: 23.97 kB / 0.5911 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.7643, allocations: 4 kB / 0.5911 GB, free: 2.395 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003731/0.7646, allocations: 214.2 kB / 0.5913 GB, free: 2.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7646, allocations: 0 / 0.5913 GB, free: 2.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007822/0.7654, allocations: 119.9 kB / 0.5915 GB, free: 2.066 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/0.7658, allocations: 139.1 kB / 0.5916 GB, free: 1.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.7674, allocations: 0.6193 MB / 0.5922 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.7674, allocations: 0 / 0.5922 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.7678, allocations: 151.8 kB / 0.5923 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.7685, allocations: 65.12 kB / 0.5924 GB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.7706, allocations: 0.8339 MB / 0.5932 GB, free: 200 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.7713, allocations: 0.8816 MB / 0.5941 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.7716, allocations: 35.42 kB / 0.5941 GB, free: 15.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.173e-06/0.7716, allocations: 0 / 0.5941 GB, free: 15.25 MB / 442.7 MB Notification: Performance of Templates: time 0.0155/0.7871, allocations: 6.577 MB / 0.6005 GB, free: 8.672 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)