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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 190.7 kB / 7.842 MB, free: 2.465 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.32/1.32, allocations: 221.4 MB / 229.7 MB, free: 3.016 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.001018/0.001018, allocations: 97.38 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0573/0.0573, allocations: 8.095 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.716e-06, allocations: 0 / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1227, allocations: 52.51 MB / 450.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4489, allocations: 79.32 MB / 0.5173 GB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.4493, allocations: 62.67 kB / 0.5174 GB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01967/0.469, allocations: 5.989 MB / 0.5232 GB, free: 10.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.4691, allocations: 0 / 0.5232 GB, free: 10.5 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.001832/0.471, allocations: 0.5534 MB / 0.5238 GB, free: 9.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.471, allocations: 15.97 kB / 0.5238 GB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.4712, allocations: 23.72 kB / 0.5238 GB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.4717, allocations: 237.7 kB / 0.524 GB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4718, allocations: 60.66 kB / 0.5241 GB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.4719, allocations: 11.94 kB / 0.5241 GB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004511/0.4724, allocations: 185.5 kB / 0.5243 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.4727, allocations: 198.2 kB / 0.5245 GB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4728, allocations: 0 / 0.5245 GB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.4728, allocations: 0 / 0.5245 GB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4728, allocations: 4 kB / 0.5245 GB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.4748, allocations: 0.9445 MB / 0.5254 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.4751, allocations: 190.2 kB / 0.5256 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.4753, allocations: 95.42 kB / 0.5257 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.048e-05/0.4754, allocations: 4 kB / 0.5257 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.4756, allocations: 162.4 kB / 0.5258 GB, free: 8.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.4756, allocations: 0 / 0.5258 GB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001104/0.4768, allocations: 354.2 kB / 0.5262 GB, free: 8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4768, allocations: 55.41 kB / 0.5262 GB, free: 7.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.477, allocations: 162.1 kB / 0.5264 GB, free: 7.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.477, allocations: 33.64 kB / 0.5264 GB, free: 7.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.4771, allocations: 123.2 kB / 0.5265 GB, free: 7.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.4772, allocations: 70.06 kB / 0.5266 GB, free: 7.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.4772, allocations: 0 / 0.5266 GB, free: 7.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4774, allocations: 327.4 kB / 0.5269 GB, free: 7.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4775, allocations: 97.86 kB / 0.527 GB, free: 7.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.4777, allocations: 133.6 kB / 0.5271 GB, free: 7.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.4781, allocations: 126.1 kB / 0.5272 GB, free: 7.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4781, allocations: 0 / 0.5272 GB, free: 7.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001069/0.4792, allocations: 412.6 kB / 0.5276 GB, free: 6.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4792, allocations: 11.92 kB / 0.5276 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4792, allocations: 0 / 0.5276 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007693/0.48, allocations: 166.9 kB / 0.5278 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.4802, allocations: 35.17 kB / 0.5278 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008714/0.4811, allocations: 0.7435 MB / 0.5286 GB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.4814, allocations: 19.69 kB / 0.5286 GB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.4814, allocations: 10.56 kB / 0.5286 GB, free: 5.859 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.0002209/0.4816, allocations: 113.8 kB / 0.5287 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.4817, allocations: 19.81 kB / 0.5287 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4827, allocations: 369.2 kB / 0.5291 GB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4828, allocations: 4.094 kB / 0.5291 GB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4828, allocations: 7.984 kB / 0.5291 GB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4828, allocations: 3.984 kB / 0.5291 GB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.4832, allocations: 320.5 kB / 0.5294 GB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.4832, allocations: 0 / 0.5294 GB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.4834, allocations: 26.61 kB / 0.5294 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/0.4841, allocations: 172.7 kB / 0.5296 GB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4841, allocations: 7.547 kB / 0.5296 GB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/0.485, allocations: 0.7426 MB / 0.5303 GB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.485, allocations: 3.906 kB / 0.5303 GB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009164/0.4859, allocations: 377.8 kB / 0.5307 GB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.486, allocations: 92.86 kB / 0.5308 GB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.4861, allocations: 4 kB / 0.5308 GB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.4863, allocations: 15.98 kB / 0.5308 GB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.4864, allocations: 18.08 kB / 0.5308 GB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.4864, allocations: 7.562 kB / 0.5308 GB, free: 3.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001072/0.4865, allocations: 128.1 kB / 0.5309 GB, free: 3.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.4869, allocations: 51.84 kB / 0.531 GB, free: 3.766 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.0002494/0.4871, allocations: 119.6 kB / 0.5311 GB, free: 3.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007073/0.4878, allocations: 261.2 kB / 0.5313 GB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4879, allocations: 4.062 kB / 0.5313 GB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.4883, allocations: 139.9 kB / 0.5315 GB, free: 3.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4885, allocations: 11.42 kB / 0.5315 GB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.4893, allocations: 241.8 kB / 0.5317 GB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.4897, allocations: 0.758 MB / 0.5325 GB, free: 2.379 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4897, allocations: 0 / 0.5325 GB, free: 2.379 MB / 346.7 MB Notification: Performance of Templates: time 0.007984/0.4977, allocations: 3.355 MB / 0.5357 GB, free: 15.05 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)