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.001492/0.001492, allocations: 102.7 kB / 16.92 MB, free: 6.145 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.001856/0.001856, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.424/1.424, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.03 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 66 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1471, allocations: 58.07 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007318/0.1545, allocations: 4.502 MB / 461.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1572, allocations: 1.41 MB / 462.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.1576, allocations: 11.94 kB / 462.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1588, allocations: 294.6 kB / 463.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009907/0.1598, allocations: 278.7 kB / 463.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.1608, allocations: 259.4 kB / 463.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.162, allocations: 0.6626 MB / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.1626, allocations: 240.3 kB / 464.5 MB, free: 380 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.1632, allocations: 290.9 kB / 464.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007748/0.164, allocations: 418.7 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1641, allocations: 44 kB / 465.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.1647, allocations: 231.6 kB / 465.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.1651, allocations: 251.3 kB / 465.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.1655, allocations: 286.6 kB / 466 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.1666, allocations: 0.736 MB / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1667, allocations: 3.938 kB / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1667, allocations: 0 / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.408e-05/0.1667, allocations: 0 / 466.7 MB, free: 14.14 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.002412/0.1691, allocations: 0.8922 MB / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1692, allocations: 11.89 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.1699, allocations: 88.23 kB / 467.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.1707, allocations: 415.9 kB / 468.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.1708, allocations: 29.36 kB / 468.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1709, allocations: 48.12 kB / 468.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1726, allocations: 0.859 MB / 469.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.1727, allocations: 4 kB / 469.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.1727, allocations: 23.98 kB / 469.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.1729, allocations: 60.95 kB / 469.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1742, allocations: 0.7963 MB / 469.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004125/0.1784, allocations: 2.733 MB / 472.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.1793, allocations: 0.5803 MB / 473.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.1799, allocations: 454.7 kB / 473.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.1799, allocations: 4 kB / 473.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.18, allocations: 34.56 kB / 473.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.056e-06/0.18, allocations: 0 / 473.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003456/0.1834, allocations: 1.887 MB / 475.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.1836, allocations: 138.8 kB / 475.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.1839, allocations: 292.5 kB / 476 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.184, allocations: 33.69 kB / 476.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1842, allocations: 260.4 kB / 476.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.1844, allocations: 193.2 kB / 476.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.1846, allocations: 94.12 kB / 476.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1848, allocations: 358.7 kB / 477 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.1853, allocations: 340.9 kB / 477.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.1859, allocations: 485.8 kB / 477.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.1872, allocations: 0.976 MB / 478.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1872, allocations: 0 / 478.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001519/0.1887, allocations: 0.9852 MB / 479.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/0.1888, allocations: 77.59 kB / 479.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1888, allocations: 11.97 kB / 479.8 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.189, allocations: 40.83 kB / 479.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.1894, allocations: 87.83 kB / 479.9 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1909, allocations: 1.547 MB / 481.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.1912, allocations: 31.95 kB / 481.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.1913, allocations: 31.94 kB / 481.5 MB, free: 14.6 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.0003911/0.1917, allocations: 308.6 kB / 481.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1918, allocations: 43.47 kB / 481.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.1934, allocations: 1.072 MB / 483 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.1934, allocations: 12 kB / 483 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1934, allocations: 3.984 kB / 483 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1934, allocations: 0 / 483 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.1959, allocations: 1.804 MB / 484.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1959, allocations: 0 / 484.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.1962, allocations: 63.89 kB / 484.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.1963, allocations: 32.83 kB / 484.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.1963, allocations: 12 kB / 484.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.1976, allocations: 1.547 MB / 486.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1976, allocations: 4.062 kB / 486.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.1991, allocations: 1.175 MB / 487.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.1993, allocations: 172.6 kB / 487.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.1994, allocations: 16 kB / 487.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1996, allocations: 35.89 kB / 487.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.1998, allocations: 44.02 kB / 487.9 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.1998, allocations: 20 kB / 487.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.2, allocations: 203.1 kB / 488.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2, allocations: 0 / 488.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.2006, allocations: 140 kB / 488.2 MB, free: 7.609 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.0002415/0.2009, allocations: 147.1 kB / 488.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.2028, allocations: 1.492 MB / 489.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2028, allocations: 0 / 489.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.2038, allocations: 0.9319 MB / 490.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.2044, allocations: 79.38 kB / 490.9 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.2064, allocations: 1.389 MB / 492.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.207, allocations: 0.9054 MB / 493.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.2072, allocations: 99.19 kB / 493.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.2073, allocations: 35.42 kB / 493.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2073, allocations: 0 / 493.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01112/0.2185, allocations: 5.929 MB / 499.2 MB, free: 12.51 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)