Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 104.4 kB / 16.45 MB, free: 6.453 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.001108/0.001108, allocations: 192.2 kB / 17.39 MB, free: 5.668 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06505/0.06505, allocations: 8.101 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 414.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 51.51 MB / 466 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004564/0.1145, allocations: 2.473 MB / 468.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.1193, allocations: 2.555 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1195, allocations: 8 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.1202, allocations: 171 kB / 471.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008082/0.121, allocations: 286.4 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1232, allocations: 1.283 MB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.1238, allocations: 422.1 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.1241, allocations: 128.1 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1243, allocations: 167.3 kB / 473.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.1246, allocations: 207.1 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.1246, allocations: 35.94 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006096/0.1253, allocations: 339.8 kB / 474 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1254, allocations: 87.67 kB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1256, allocations: 191 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.1264, allocations: 0.6349 MB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1264, allocations: 3.938 kB / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1264, allocations: 0 / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1264, allocations: 0 / 474.9 MB, free: 9.148 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004192/0.1306, allocations: 1.227 MB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1306, allocations: 8.031 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.1308, allocations: 48.47 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.1313, allocations: 319.5 kB / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.1313, allocations: 58.81 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.1314, allocations: 32.12 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.1321, allocations: 440.5 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1321, allocations: 0 / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.1321, allocations: 12 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1322, allocations: 8 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.1328, allocations: 386 kB / 477.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.1351, allocations: 1.738 MB / 479.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.136, allocations: 0.4912 MB / 479.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.1364, allocations: 252.8 kB / 479.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.1365, allocations: 11.98 kB / 479.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.1371, allocations: 323.1 kB / 480.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.1371, allocations: 0 / 480.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004183/0.1413, allocations: 1.35 MB / 481.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.1414, allocations: 114.8 kB / 481.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.1417, allocations: 282.9 kB / 482 MB, free: 1.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1418, allocations: 37.7 kB / 482 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1419, allocations: 168.9 kB / 482.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1421, allocations: 141.9 kB / 482.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.1423, allocations: 98.23 kB / 482.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1424, allocations: 342.8 kB / 482.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.1428, allocations: 257 kB / 483 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.1432, allocations: 312.6 kB / 483.3 MB, free: 368 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/0.1441, allocations: 0.5548 MB / 483.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1441, allocations: 4 kB / 483.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001932/0.1461, allocations: 0.9171 MB / 484.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1461, allocations: 6.5 kB / 484.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1461, allocations: 0 / 484.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/0.1488, allocations: 0.6122 MB / 485.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.1491, allocations: 71.91 kB / 485.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.1509, allocations: 1.071 MB / 486.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.1513, allocations: 47.58 kB / 486.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.1513, allocations: 19.98 kB / 486.6 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.1516, allocations: 177.6 kB / 486.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.1517, allocations: 31.62 kB / 486.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.153, allocations: 0.7778 MB / 487.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.153, allocations: 8 kB / 487.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.153, allocations: 0 / 487.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1531, allocations: 7.984 kB / 487.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.1536, allocations: 0.5563 MB / 488.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1536, allocations: 0 / 488.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1538, allocations: 47.92 kB / 488.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.1563, allocations: 0.5783 MB / 488.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.1563, allocations: 16 kB / 488.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.1579, allocations: 1.074 MB / 489.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1579, allocations: 3.938 kB / 489.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.1591, allocations: 0.7366 MB / 490.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1592, allocations: 112.6 kB / 490.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.1593, allocations: 15.98 kB / 490.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.1596, allocations: 23.92 kB / 490.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1597, allocations: 28.41 kB / 490.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.1598, allocations: 15.98 kB / 490.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.1601, allocations: 202 kB / 491 MB, free: 8.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1601, allocations: 0 / 491 MB, free: 8.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005148/0.1606, allocations: 135.9 kB / 491.1 MB, free: 8.352 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.1616, allocations: 429 kB / 491.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.1634, allocations: 0.7163 MB / 492.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1634, allocations: 0 / 492.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.1645, allocations: 406.3 kB / 492.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.165, allocations: 44.88 kB / 492.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1664, allocations: 0.7552 MB / 493.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1667, allocations: 0.7925 MB / 494.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.1669, allocations: 54.91 kB / 494.3 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.167, allocations: 39.42 kB / 494.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.167, allocations: 7.938 kB / 494.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of Templates: time 0.01512/0.1821, allocations: 8.08 MB / 0.4907 GB, free: 13.16 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)