Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 112.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001198, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1802/0.1802, allocations: 38.02 MB / 329.3 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002037, allocations: 65.91 kB / 398.1 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.143, allocations: 58.05 MB / 456.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006696/0.1497, allocations: 5.158 MB / 461.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1527, allocations: 1.62 MB / 462.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.1531, allocations: 23.81 kB / 462.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008095/0.1539, allocations: 271 kB / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.1546, allocations: 262.9 kB / 463.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.1553, allocations: 235.6 kB / 463.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009132/0.1563, allocations: 0.9941 MB / 464.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.1567, allocations: 228.2 kB / 464.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.1571, allocations: 254.9 kB / 465.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.1577, allocations: 426.7 kB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.1578, allocations: 28 kB / 465.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.1582, allocations: 231.5 kB / 465.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.1585, allocations: 223.4 kB / 466.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.1588, allocations: 274.6 kB / 466.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.1594, allocations: 0.7242 MB / 467 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1595, allocations: 0 / 467 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1595, allocations: 3.984 kB / 467.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1595, allocations: 0 / 467.1 MB, free: 13.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001563/0.1611, allocations: 0.8923 MB / 467.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1611, allocations: 8.031 kB / 468 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.1617, allocations: 92.14 kB / 468 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.1623, allocations: 412 kB / 468.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.1624, allocations: 29.38 kB / 468.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.1624, allocations: 52.09 kB / 468.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.1636, allocations: 0.8629 MB / 469.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1636, allocations: 7.906 kB / 469.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.1637, allocations: 23.98 kB / 469.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.1638, allocations: 60.95 kB / 469.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1649, allocations: 0.7963 MB / 470.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.1683, allocations: 2.722 MB / 473 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.1692, allocations: 0.5798 MB / 473.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.1698, allocations: 454.7 kB / 474 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.1698, allocations: 4 kB / 474 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.1699, allocations: 34.56 kB / 474.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.785e-06/0.1699, allocations: 3.938 kB / 474.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003089/0.173, allocations: 1.883 MB / 475.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1731, allocations: 138.8 kB / 476.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1734, allocations: 292.5 kB / 476.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.1734, allocations: 37.69 kB / 476.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1736, allocations: 260.3 kB / 476.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1737, allocations: 193.3 kB / 476.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1739, allocations: 98.02 kB / 476.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1741, allocations: 354.7 kB / 477.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.1745, allocations: 348.8 kB / 477.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.1751, allocations: 481.8 kB / 478.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.1763, allocations: 0.9837 MB / 479.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1763, allocations: 0 / 479.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001415/0.1777, allocations: 0.9766 MB / 480.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-05/0.1779, allocations: 78.16 kB / 480.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1779, allocations: 11.94 kB / 480.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.1781, allocations: 44.83 kB / 480.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.1785, allocations: 83.83 kB / 480.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1798, allocations: 1.441 MB / 481.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.1802, allocations: 39.91 kB / 481.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.1803, allocations: 24 kB / 481.8 MB, free: 14.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004833/0.1808, allocations: 295.3 kB / 482.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.181, allocations: 47.47 kB / 482.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.1826, allocations: 1.073 MB / 483.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.1827, allocations: 15.98 kB / 483.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1827, allocations: 0 / 483.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1827, allocations: 3.938 kB / 483.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.1853, allocations: 1.8 MB / 485 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.1853, allocations: 12.06 kB / 485 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1855, allocations: 51.91 kB / 485.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.1857, allocations: 36.83 kB / 485.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.1857, allocations: 12 kB / 485.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.187, allocations: 1.433 MB / 486.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.187, allocations: 0 / 486.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1885, allocations: 1.179 MB / 487.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.1888, allocations: 184.4 kB / 487.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.1889, allocations: 12 kB / 487.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.1892, allocations: 31.89 kB / 487.9 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.1893, allocations: 39.94 kB / 488 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.1894, allocations: 20 kB / 488 MB, free: 7.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.1896, allocations: 203.1 kB / 488.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1896, allocations: 4 kB / 488.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006596/0.1903, allocations: 140 kB / 488.3 MB, free: 7.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.1906, allocations: 139.1 kB / 488.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.1925, allocations: 1.371 MB / 489.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1925, allocations: 0 / 489.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.1936, allocations: 0.9241 MB / 490.8 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.1941, allocations: 81.34 kB / 490.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1965, allocations: 1.613 MB / 492.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.197, allocations: 0.9093 MB / 493.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.1973, allocations: 103.2 kB / 493.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1974, allocations: 31.42 kB / 493.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1974, allocations: 0 / 493.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of Templates: time 0.01156/0.209, allocations: 5.694 MB / 499.2 MB, free: 12.29 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)