Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000984/0.0009842, allocations: 177.9 kB / 8.044 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.31/1.31, allocations: 221.5 MB / 230 MB, free: 3.184 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.0008619/0.0008618, allocations: 94.97 kB / 280.9 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0494/0.0494, allocations: 8.099 MB / 339.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.573e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09963, allocations: 52.52 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4403, allocations: 79.39 MB / 0.5179 GB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4406, allocations: 60.66 kB / 0.518 GB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.4571, allocations: 6.304 MB / 0.5242 GB, free: 9.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4572, allocations: 0 / 0.5242 GB, free: 9.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4572, allocations: 4 kB / 0.5242 GB, free: 9.621 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001315/0.4585, allocations: 0.5387 MB / 0.5247 GB, free: 9.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.4586, allocations: 15.98 kB / 0.5247 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.4587, allocations: 27.77 kB / 0.5247 GB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.459, allocations: 231.6 kB / 0.525 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.421e-05/0.4591, allocations: 63.39 kB / 0.525 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4591, allocations: 12 kB / 0.525 GB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002996/0.4594, allocations: 182 kB / 0.5252 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.4598, allocations: 202.2 kB / 0.5254 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4598, allocations: 0 / 0.5254 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.4598, allocations: 3.938 kB / 0.5254 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.4598, allocations: 4 kB / 0.5254 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.4614, allocations: 0.9391 MB / 0.5263 GB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.462, allocations: 222.5 kB / 0.5265 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4621, allocations: 94.3 kB / 0.5266 GB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.4622, allocations: 11.86 kB / 0.5266 GB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.4625, allocations: 151.1 kB / 0.5268 GB, free: 7.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.4625, allocations: 0 / 0.5268 GB, free: 7.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001002/0.4635, allocations: 364.6 kB / 0.5271 GB, free: 7.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4635, allocations: 55.41 kB / 0.5272 GB, free: 7.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.4638, allocations: 159.6 kB / 0.5273 GB, free: 6.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.4638, allocations: 29.58 kB / 0.5274 GB, free: 6.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.4639, allocations: 131.6 kB / 0.5275 GB, free: 6.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.464, allocations: 66.7 kB / 0.5275 GB, free: 6.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.464, allocations: 0 / 0.5275 GB, free: 6.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4642, allocations: 334.2 kB / 0.5279 GB, free: 6.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4643, allocations: 94.19 kB / 0.528 GB, free: 6.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.4645, allocations: 135.4 kB / 0.5281 GB, free: 6.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.4647, allocations: 125.9 kB / 0.5282 GB, free: 6.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4648, allocations: 0 / 0.5282 GB, free: 6.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009109/0.4657, allocations: 408.8 kB / 0.5286 GB, free: 5.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4657, allocations: 7.984 kB / 0.5286 GB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4657, allocations: 4 kB / 0.5286 GB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.4664, allocations: 165.8 kB / 0.5288 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.4666, allocations: 35.11 kB / 0.5288 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007811/0.4673, allocations: 0.7389 MB / 0.5295 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.4676, allocations: 15.78 kB / 0.5295 GB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.4676, allocations: 11.95 kB / 0.5295 GB, free: 4.977 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.load.degradedMode,load.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.4677, allocations: 112.2 kB / 0.5296 GB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.4678, allocations: 19.8 kB / 0.5297 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.4686, allocations: 382.8 kB / 0.53 GB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.4686, allocations: 4 kB / 0.53 GB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4687, allocations: 3.938 kB / 0.53 GB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4687, allocations: 0 / 0.53 GB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.469, allocations: 317.9 kB / 0.5303 GB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.469, allocations: 3.953 kB / 0.5303 GB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4691, allocations: 19.98 kB / 0.5304 GB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.4697, allocations: 175.6 kB / 0.5305 GB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.4697, allocations: 3.984 kB / 0.5305 GB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006501/0.4704, allocations: 0.7377 MB / 0.5313 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4704, allocations: 0 / 0.5313 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.4712, allocations: 376.7 kB / 0.5316 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.4713, allocations: 99.84 kB / 0.5317 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.4713, allocations: 7.953 kB / 0.5317 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.4715, allocations: 11.98 kB / 0.5317 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.4716, allocations: 15.28 kB / 0.5317 GB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4716, allocations: 8 kB / 0.5318 GB, free: 3.043 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.4717, allocations: 136.6 kB / 0.5319 GB, free: 2.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.4717, allocations: 0 / 0.5319 GB, free: 2.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.472, allocations: 51 kB / 0.5319 GB, free: 2.883 MB / 346.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,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {3 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001979/0.4722, allocations: 115.2 kB / 0.532 GB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.4729, allocations: 265.7 kB / 0.5323 GB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4729, allocations: 0 / 0.5323 GB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.4733, allocations: 146.4 kB / 0.5324 GB, free: 2.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4735, allocations: 8.938 kB / 0.5324 GB, free: 2.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.4741, allocations: 255.3 kB / 0.5327 GB, free: 2.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.4744, allocations: 0.7285 MB / 0.5334 GB, free: 1.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.4746, allocations: 29.78 kB / 0.5334 GB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.4746, allocations: 19 kB / 0.5334 GB, free: 1.469 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4746, allocations: 4 kB / 0.5334 GB, free: 1.465 MB / 346.7 MB Notification: Performance of Templates: time 0.006198/0.4808, allocations: 3.051 MB / 0.5364 GB, free: 14.43 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)