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.001176/0.001181, allocations: 104.7 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.001285/0.001285, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05047/0.05047, allocations: 8.113 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 51.51 MB / 466 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004298/0.1153, allocations: 2.488 MB / 468.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.1189, allocations: 2.551 MB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1191, allocations: 8 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.1196, allocations: 167 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.1203, allocations: 290.4 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.1224, allocations: 1.276 MB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.1229, allocations: 414.2 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1231, allocations: 132.1 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1233, allocations: 167.3 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1236, allocations: 203.1 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.1237, allocations: 28 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.1243, allocations: 347.7 kB / 474 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1244, allocations: 95.61 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.1246, allocations: 191 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.1254, allocations: 0.6228 MB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1254, allocations: 4 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1254, allocations: 0 / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1254, allocations: 3.938 kB / 474.9 MB, free: 9.195 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.00407/0.1295, allocations: 1.239 MB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1296, allocations: 12.03 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1297, allocations: 56.58 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.1301, allocations: 323.7 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.1302, allocations: 54.75 kB / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1302, allocations: 40.12 kB / 476.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.131, allocations: 440.5 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.131, allocations: 0 / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.131, allocations: 12 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.131, allocations: 4 kB / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.1316, allocations: 386.1 kB / 477.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.134, allocations: 1.742 MB / 479.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.1349, allocations: 491 kB / 479.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.1353, allocations: 256.8 kB / 479.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.1353, allocations: 11.97 kB / 479.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.1359, allocations: 331.1 kB / 480.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.1359, allocations: 0 / 480.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004151/0.1401, allocations: 1.346 MB / 481.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.1402, allocations: 114.8 kB / 481.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.1405, allocations: 286.9 kB / 482 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.1405, allocations: 37.7 kB / 482 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1407, allocations: 173 kB / 482.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1408, allocations: 146.7 kB / 482.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.141, allocations: 94.23 kB / 482.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1411, allocations: 346.8 kB / 482.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.1415, allocations: 253 kB / 483 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.1419, allocations: 312.6 kB / 483.3 MB, free: 376 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.1428, allocations: 0.5549 MB / 483.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1428, allocations: 0 / 483.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001904/0.1447, allocations: 0.929 MB / 484.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1447, allocations: 4 kB / 484.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1447, allocations: 0 / 484.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.1473, allocations: 0.6093 MB / 485.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.1476, allocations: 71.91 kB / 485.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.1492, allocations: 1.079 MB / 486.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.1495, allocations: 43.67 kB / 486.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.1496, allocations: 20 kB / 486.7 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.0002118/0.1498, allocations: 169.6 kB / 486.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.1499, allocations: 31.81 kB / 486.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.1512, allocations: 0.7817 MB / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1512, allocations: 4 kB / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1512, allocations: 0 / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1513, allocations: 3.938 kB / 487.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.1518, allocations: 0.5642 MB / 488.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1518, allocations: 0 / 488.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.152, allocations: 55.92 kB / 488.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.1544, allocations: 0.5931 MB / 488.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.1545, allocations: 4 kB / 488.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.156, allocations: 1.079 MB / 489.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1561, allocations: 3.938 kB / 489.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1572, allocations: 0.7368 MB / 490.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.1573, allocations: 112.8 kB / 490.8 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.1574, allocations: 15.98 kB / 490.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.1577, allocations: 27.92 kB / 490.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.1577, allocations: 24.41 kB / 490.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.1578, allocations: 19.98 kB / 490.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.158, allocations: 202 kB / 491.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.158, allocations: 0 / 491.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.1585, allocations: 139.9 kB / 491.2 MB, free: 8.332 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.0009657/0.1594, allocations: 423.2 kB / 491.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.1612, allocations: 0.7203 MB / 492.3 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1612, allocations: 4 kB / 492.3 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.1624, allocations: 406.3 kB / 492.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1627, allocations: 44.86 kB / 492.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1642, allocations: 0.744 MB / 493.5 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1645, allocations: 0.7925 MB / 494.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.1647, allocations: 62.89 kB / 494.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.1648, allocations: 39.42 kB / 494.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1649, allocations: 0 / 494.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Templates: time 0.01408/0.1789, allocations: 8.083 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)