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.0009685/0.0009685, allocations: 171.9 kB / 16.8 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240.8 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 102.2 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04271/0.04271, allocations: 8.099 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 17.17 kB / 414.4 MB, free: 57.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08898/0.08932, allocations: 52.51 MB / 466.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4065, allocations: 83.96 MB / 0.5379 GB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4068, allocations: 69.84 kB / 0.538 GB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03533/0.4421, allocations: 13.65 MB / 0.5513 GB, free: 6.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4422, allocations: 0 / 0.5513 GB, free: 6.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.4422, allocations: 4 kB / 0.5513 GB, free: 6.645 MB / 362.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.002864/0.4451, allocations: 0.8858 MB / 0.5522 GB, free: 5.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4452, allocations: 8.031 kB / 0.5522 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4454, allocations: 48.45 kB / 0.5523 GB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.446, allocations: 343.3 kB / 0.5526 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.4461, allocations: 50.83 kB / 0.5526 GB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.4461, allocations: 32.31 kB / 0.5527 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.447, allocations: 449 kB / 0.5531 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.447, allocations: 3.938 kB / 0.5531 GB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.447, allocations: 11.94 kB / 0.5531 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4471, allocations: 8 kB / 0.5531 GB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.4477, allocations: 382.1 kB / 0.5535 GB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.4505, allocations: 1.875 MB / 0.5553 GB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.4514, allocations: 491 kB / 0.5558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.4518, allocations: 256.8 kB / 0.556 GB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.452, allocations: 97.09 kB / 0.5561 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.4525, allocations: 319.2 kB / 0.5564 GB, free: 1.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/0.4525, allocations: 0 / 0.5564 GB, free: 1.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.005265/0.4578, allocations: 1.584 MB / 0.558 GB, free: 15.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4579, allocations: 106.8 kB / 0.5581 GB, free: 15.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.4582, allocations: 287 kB / 0.5583 GB, free: 15.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.4583, allocations: 37.7 kB / 0.5584 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4584, allocations: 172.6 kB / 0.5585 GB, free: 14.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.4586, allocations: 145.8 kB / 0.5587 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.4586, allocations: 8 kB / 0.5587 GB, free: 14.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4588, allocations: 342.8 kB / 0.559 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.4591, allocations: 216.8 kB / 0.5592 GB, free: 14.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.4595, allocations: 259.3 kB / 0.5595 GB, free: 13.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.4603, allocations: 475.7 kB / 0.5599 GB, free: 13.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4603, allocations: 4.031 kB / 0.5599 GB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002581/0.4629, allocations: 0.9606 MB / 0.5609 GB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.463, allocations: 4 kB / 0.5609 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.463, allocations: 0 / 0.5609 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.4656, allocations: 0.5942 MB / 0.5614 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.4658, allocations: 55.91 kB / 0.5615 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.4676, allocations: 1.091 MB / 0.5626 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.468, allocations: 35.67 kB / 0.5626 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.468, allocations: 12 kB / 0.5626 GB, free: 10.64 MB / 378.7 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 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked 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.0002339/0.4683, allocations: 161.9 kB / 0.5628 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.4683, allocations: 43.52 kB / 0.5628 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.4707, allocations: 0.9765 MB / 0.5638 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.4707, allocations: 4 kB / 0.5638 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4707, allocations: 3.938 kB / 0.5638 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4707, allocations: 7.922 kB / 0.5638 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.4714, allocations: 0.6266 MB / 0.5644 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4715, allocations: 0 / 0.5644 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4716, allocations: 51.97 kB / 0.5644 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.474, allocations: 0.5769 MB / 0.565 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.4741, allocations: 19.92 kB / 0.565 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.4755, allocations: 1.056 MB / 0.5661 GB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4756, allocations: 0 / 0.5661 GB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.4778, allocations: 0.9273 MB / 0.567 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.478, allocations: 128.6 kB / 0.5671 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.4781, allocations: 7.984 kB / 0.5671 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.4784, allocations: 28.11 kB / 0.5671 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.4785, allocations: 28.39 kB / 0.5671 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.4786, allocations: 20 kB / 0.5672 GB, free: 5.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002617/0.4788, allocations: 209.9 kB / 0.5674 GB, free: 5.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4788, allocations: 4 kB / 0.5674 GB, free: 5.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000455/0.4793, allocations: 135.8 kB / 0.5675 GB, free: 5.492 MB / 378.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) * 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 (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 {6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009801/0.4803, allocations: 422.8 kB / 0.5679 GB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.4823, allocations: 0.6804 MB / 0.5686 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4823, allocations: 3.938 kB / 0.5686 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.4835, allocations: 386.3 kB / 0.5689 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.4839, allocations: 48.88 kB / 0.569 GB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.4854, allocations: 0.8507 MB / 0.5698 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.4858, allocations: 0.7966 MB / 0.5706 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.486, allocations: 62.89 kB / 0.5706 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.4861, allocations: 35.42 kB / 0.5707 GB, free: 2.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4861, allocations: 0 / 0.5707 GB, free: 2.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01261/0.4987, allocations: 7.297 MB / 0.5778 GB, free: 11.05 MB / 394.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)