Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") [: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.001043/0.001043, allocations: 193.4 kB / 7.846 MB, free: 2.5 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.318/1.318, allocations: 221.4 MB / 229.7 MB, free: 3.133 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.001302/0.001302, allocations: 91.31 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06116/0.06116, allocations: 8.089 MB / 339.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.835e-06, allocations: 4 kB / 397.9 MB, free: 68.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 52.51 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.4441, allocations: 81.78 MB / 0.5197 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.4445, allocations: 67.91 kB / 0.5198 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03792/0.4824, allocations: 13.87 MB / 0.5333 GB, free: 1.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.4825, allocations: 4 kB / 0.5333 GB, free: 1.957 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003091/0.4856, allocations: 0.9297 MB / 0.5342 GB, free: 1.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4856, allocations: 15.97 kB / 0.5343 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.4859, allocations: 47.44 kB / 0.5343 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.4865, allocations: 344 kB / 0.5346 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.4866, allocations: 54.33 kB / 0.5347 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.4867, allocations: 20 kB / 0.5347 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008593/0.4876, allocations: 492.9 kB / 0.5352 GB, free: 336 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.4884, allocations: 0.5045 MB / 0.5357 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4885, allocations: 0 / 0.5357 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.4885, allocations: 0 / 0.5357 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4886, allocations: 8 kB / 0.5357 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.4921, allocations: 2.327 MB / 0.5379 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.4929, allocations: 0.5465 MB / 0.5385 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.4934, allocations: 325 kB / 0.5388 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.4936, allocations: 104.8 kB / 0.5389 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.4942, allocations: 374.1 kB / 0.5392 GB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.4942, allocations: 4 kB / 0.5392 GB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.003748/0.4979, allocations: 1.156 MB / 0.5404 GB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.498, allocations: 81.61 kB / 0.5405 GB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.4983, allocations: 228.4 kB / 0.5407 GB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.4983, allocations: 25.7 kB / 0.5407 GB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4985, allocations: 150.4 kB / 0.5408 GB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.4987, allocations: 195.1 kB / 0.541 GB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.4987, allocations: 0 / 0.541 GB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4989, allocations: 357 kB / 0.5414 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.4993, allocations: 265 kB / 0.5416 GB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.4997, allocations: 315.3 kB / 0.5419 GB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.5006, allocations: 343.6 kB / 0.5422 GB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5006, allocations: 0 / 0.5422 GB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003797/0.5044, allocations: 1.219 MB / 0.5434 GB, free: 9.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5045, allocations: 7.984 kB / 0.5434 GB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5045, allocations: 0 / 0.5434 GB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/0.5076, allocations: 0.6293 MB / 0.5441 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.508, allocations: 79.58 kB / 0.5441 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/0.5152, allocations: 3.703 MB / 0.5478 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.5157, allocations: 31.58 kB / 0.5478 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.5158, allocations: 21.61 kB / 0.5478 GB, free: 6.457 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {8 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.516, allocations: 112.9 kB / 0.5479 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5161, allocations: 43.44 kB / 0.548 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.5202, allocations: 1.292 MB / 0.5492 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5202, allocations: 7.938 kB / 0.5492 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5202, allocations: 3.984 kB / 0.5492 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5202, allocations: 4 kB / 0.5492 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.5211, allocations: 0.6665 MB / 0.5499 GB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5211, allocations: 3.906 kB / 0.5499 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.5215, allocations: 75.89 kB / 0.55 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/0.5246, allocations: 0.6328 MB / 0.5506 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.5247, allocations: 7.922 kB / 0.5506 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008048/0.5328, allocations: 3.697 MB / 0.5542 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5328, allocations: 3.984 kB / 0.5542 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003877/0.5367, allocations: 1.224 MB / 0.5554 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.5369, allocations: 128.4 kB / 0.5555 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.952e-05/0.537, allocations: 3.984 kB / 0.5555 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.5374, allocations: 19.98 kB / 0.5555 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5376, allocations: 32.59 kB / 0.5556 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.5376, allocations: 20 kB / 0.5556 GB, free: 14.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002063/0.5378, allocations: 187.1 kB / 0.5558 GB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006955/0.5385, allocations: 159.9 kB / 0.5559 GB, free: 14.09 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,brk.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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 {8 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/0.5388, allocations: 127 kB / 0.556 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.5415, allocations: 0.9885 MB / 0.557 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5415, allocations: 0 / 0.557 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.5434, allocations: 0.687 MB / 0.5577 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.5438, allocations: 23.45 kB / 0.5577 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5455, allocations: 0.5836 MB / 0.5583 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/0.546, allocations: 0.868 MB / 0.5591 GB, free: 10.75 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.546, allocations: 0 / 0.5591 GB, free: 10.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01903/0.5651, allocations: 10.74 MB / 0.5696 GB, free: 44 kB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)