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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.0009656/0.0009656, allocations: 119.1 kB / 17.14 MB, free: 5.914 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.0009301/0.0009301, allocations: 190 kB / 18.07 MB, free: 4.996 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.321/1.321, allocations: 222.9 MB / 241.8 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04769/0.04769, allocations: 8.093 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.0851, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003855/0.08899, allocations: 2.473 MB / 469.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.09247, allocations: 2.555 MB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.09271, allocations: 7.938 kB / 471.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.09329, allocations: 171.1 kB / 471.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000843/0.09416, allocations: 286.4 kB / 472.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.09643, allocations: 1.28 MB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006415/0.09708, allocations: 426.1 kB / 473.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.09733, allocations: 128.1 kB / 474 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.09758, allocations: 167.4 kB / 474.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.0979, allocations: 203.1 kB / 474.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.505e-05/0.09799, allocations: 28 kB / 474.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.09862, allocations: 351.7 kB / 474.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.09876, allocations: 87.62 kB / 474.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.09897, allocations: 191 kB / 475 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.09985, allocations: 0.631 MB / 475.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09987, allocations: 0 / 475.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.09988, allocations: 4 kB / 475.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.0999, allocations: 0 / 475.6 MB, free: 9.168 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.004175/0.1041, allocations: 1.22 MB / 476.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1041, allocations: 15.89 kB / 476.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1043, allocations: 44.47 kB / 476.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.1047, allocations: 319.5 kB / 477.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.1048, allocations: 50.83 kB / 477.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.1048, allocations: 40.11 kB / 477.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.1056, allocations: 444.4 kB / 477.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1056, allocations: 0 / 477.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1056, allocations: 12 kB / 477.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1056, allocations: 4 kB / 477.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.1063, allocations: 386.1 kB / 478.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.1088, allocations: 1.75 MB / 479.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/0.1097, allocations: 0.4912 MB / 480.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.1101, allocations: 252.8 kB / 480.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.1101, allocations: 15.92 kB / 480.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.1107, allocations: 323.1 kB / 480.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.1107, allocations: 0 / 480.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004134/0.1149, allocations: 1.347 MB / 482.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.1149, allocations: 110.8 kB / 482.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.1153, allocations: 290.8 kB / 482.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.1153, allocations: 33.7 kB / 482.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1155, allocations: 168.9 kB / 482.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1156, allocations: 141.9 kB / 483 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1158, allocations: 98.23 kB / 483.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1159, allocations: 342.8 kB / 483.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.1163, allocations: 257 kB / 483.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.1168, allocations: 308.6 kB / 484 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000879/0.1176, allocations: 0.5547 MB / 484.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1177, allocations: 4.031 kB / 484.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002034/0.1197, allocations: 0.917 MB / 485.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1197, allocations: 12 kB / 485.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1197, allocations: 0 / 485.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.1225, allocations: 0.6051 MB / 486.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.1228, allocations: 71.91 kB / 486.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.1245, allocations: 1.075 MB / 487.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.1249, allocations: 47.58 kB / 487.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.1249, allocations: 12 kB / 487.3 MB, free: 13.04 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.0002147/0.1251, allocations: 165.7 kB / 487.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.1252, allocations: 35.62 kB / 487.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.1266, allocations: 0.7779 MB / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1266, allocations: 3.984 kB / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1266, allocations: 0 / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1267, allocations: 116.6 kB / 488.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.1268, allocations: 11.94 kB / 488.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.1271, allocations: 23.98 kB / 488.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.1272, allocations: 40.27 kB / 488.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002516/0.1298, allocations: 0.9142 MB / 489.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001335/0.1311, allocations: 0.9432 MB / 490.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003242/0.1314, allocations: 223.4 kB / 490.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.1317, allocations: 202 kB / 490.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of Backend: time 4.2e-07/0.1317, allocations: 0 / 490.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.1346, allocations: 1.036 MB / 491.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of SimCode: time 0.001203/0.1359, allocations: 1.171 MB / 492.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of Templates: time 0.01611/0.152, allocations: 10.3 MB / 0.4914 GB, free: 13.19 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)