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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.5 MB / 230 MB, free: 3.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 97.59 kB / 280.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04771/0.04771, allocations: 8.095 MB / 339.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.628e-05, allocations: 4 kB / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 52.52 MB / 451 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.4908, allocations: 83.48 MB / 0.5219 GB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4911, allocations: 63.84 kB / 0.522 GB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03367/0.5248, allocations: 13.17 MB / 0.5349 GB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5248, allocations: 3.938 kB / 0.5349 GB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.5249, allocations: 12 kB / 0.5349 GB, free: 312 kB / 346.7 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.002434/0.5273, allocations: 0.8236 MB / 0.5357 GB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5274, allocations: 15.98 kB / 0.5357 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.5275, allocations: 42.97 kB / 0.5357 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.528, allocations: 335.3 kB / 0.5361 GB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.528, allocations: 46.25 kB / 0.5361 GB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.5281, allocations: 12 kB / 0.5361 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005348/0.5286, allocations: 367.8 kB / 0.5365 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.5292, allocations: 395.2 kB / 0.5368 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.5293, allocations: 0 / 0.5368 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.5293, allocations: 0 / 0.5368 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5293, allocations: 8 kB / 0.5369 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.5319, allocations: 1.813 MB / 0.5386 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.5328, allocations: 475 kB / 0.5391 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.5331, allocations: 236.6 kB / 0.5393 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.5333, allocations: 93.03 kB / 0.5394 GB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.5337, allocations: 301.4 kB / 0.5397 GB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.5337, allocations: 0 / 0.5397 GB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002036/0.5358, allocations: 0.7885 MB / 0.5405 GB, free: 11.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.5359, allocations: 110.6 kB / 0.5406 GB, free: 11.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.5361, allocations: 249.1 kB / 0.5408 GB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.5362, allocations: 25.7 kB / 0.5408 GB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5363, allocations: 172.8 kB / 0.541 GB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5364, allocations: 133.5 kB / 0.5411 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.5365, allocations: 0 / 0.5411 GB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5366, allocations: 353.6 kB / 0.5414 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.5369, allocations: 198.9 kB / 0.5416 GB, free: 10.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.5372, allocations: 248.9 kB / 0.5419 GB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.5378, allocations: 238.4 kB / 0.5421 GB, free: 10.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5378, allocations: 0 / 0.5421 GB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002611/0.5404, allocations: 0.9445 MB / 0.543 GB, free: 9.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5405, allocations: 8 kB / 0.543 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5405, allocations: 4 kB / 0.543 GB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.5428, allocations: 0.5416 MB / 0.5436 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.5431, allocations: 51.16 kB / 0.5436 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.5448, allocations: 1.129 MB / 0.5447 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.5452, allocations: 27.73 kB / 0.5447 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.5453, allocations: 15.3 kB / 0.5448 GB, free: 8.277 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.5455, allocations: 117.5 kB / 0.5449 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.5456, allocations: 39.53 kB / 0.5449 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.548, allocations: 0.9262 MB / 0.5458 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.548, allocations: 7.938 kB / 0.5458 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.548, allocations: 4 kB / 0.5458 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.548, allocations: 3.984 kB / 0.5458 GB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.5487, allocations: 0.5601 MB / 0.5464 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5487, allocations: 0 / 0.5464 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.5489, allocations: 55.03 kB / 0.5464 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.5511, allocations: 0.5491 MB / 0.547 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.5511, allocations: 4 kB / 0.547 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.5528, allocations: 1.138 MB / 0.5481 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5528, allocations: 0 / 0.5481 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.5551, allocations: 0.8888 MB / 0.5489 GB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.5552, allocations: 120.5 kB / 0.5491 GB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.5553, allocations: 7.984 kB / 0.5491 GB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.5556, allocations: 19.94 kB / 0.5491 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.5557, allocations: 27.64 kB / 0.5491 GB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.5558, allocations: 15.81 kB / 0.5491 GB, free: 4.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.556, allocations: 199.7 kB / 0.5493 GB, free: 4.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.824e-06/0.556, allocations: 0 / 0.5493 GB, free: 4.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004253/0.5564, allocations: 118.1 kB / 0.5494 GB, free: 4.512 MB / 362.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008507/0.5573, allocations: 373.5 kB / 0.5498 GB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.5591, allocations: 0.6308 MB / 0.5504 GB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5591, allocations: 0 / 0.5504 GB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.5604, allocations: 407.9 kB / 0.5508 GB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.5608, allocations: 31.98 kB / 0.5508 GB, free: 3.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5618, allocations: 463.7 kB / 0.5513 GB, free: 3.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.5622, allocations: 0.8006 MB / 0.552 GB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.5624, allocations: 59.22 kB / 0.5521 GB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.5625, allocations: 34.73 kB / 0.5521 GB, free: 2.184 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5625, allocations: 0 / 0.5521 GB, free: 2.184 MB / 362.7 MB Notification: Performance of Templates: time 0.01172/0.5742, allocations: 6.667 MB / 0.5586 GB, free: 11.55 MB / 378.7 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)