Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.Islanding2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2") translateModel(PowerSysPro.Examples.BreakerTests.Islanding2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2") [: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.00157/0.00157, allocations: 188.2 kB / 7.842 MB, free: 2.473 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.659/1.659, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.001027/0.001027, allocations: 105.9 kB / 280.5 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05811/0.05811, allocations: 8.097 MB / 339.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.404e-06, allocations: 4 kB / 397.9 MB, free: 68.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.08997, allocations: 52.51 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.4061, allocations: 81.85 MB / 0.5198 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.4065, allocations: 70.72 kB / 0.5199 GB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04734/0.4538, allocations: 16.74 MB / 0.5362 GB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.4539, allocations: 16.75 kB / 0.5362 GB, free: 15.7 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.004435/0.4583, allocations: 1.075 MB / 0.5373 GB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.4584, allocations: 11.97 kB / 0.5373 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.4588, allocations: 67.25 kB / 0.5374 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4599, allocations: 397.3 kB / 0.5377 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.46, allocations: 50.69 kB / 0.5378 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.4602, allocations: 27.91 kB / 0.5378 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/0.4614, allocations: 0.6022 MB / 0.5384 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4625, allocations: 0.6176 MB / 0.539 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4626, allocations: 0 / 0.539 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.4626, allocations: 0 / 0.539 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.4627, allocations: 12 kB / 0.539 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.468, allocations: 2.831 MB / 0.5418 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4692, allocations: 0.672 MB / 0.5424 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.4699, allocations: 415.7 kB / 0.5428 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.4702, allocations: 104.5 kB / 0.5429 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007693/0.471, allocations: 469.1 kB / 0.5434 GB, free: 9.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.948e-06/0.471, allocations: 0 / 0.5434 GB, free: 9.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.004958/0.4759, allocations: 1.476 MB / 0.5448 GB, free: 8.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.476, allocations: 81.77 kB / 0.5449 GB, free: 8.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.4765, allocations: 264.9 kB / 0.5451 GB, free: 8.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.4766, allocations: 29.69 kB / 0.5452 GB, free: 8.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4767, allocations: 161.4 kB / 0.5453 GB, free: 8.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.477, allocations: 239.9 kB / 0.5456 GB, free: 8.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.477, allocations: 0 / 0.5456 GB, free: 8.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4772, allocations: 356.5 kB / 0.5459 GB, free: 7.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.4777, allocations: 342.3 kB / 0.5462 GB, free: 7.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.4783, allocations: 384.3 kB / 0.5466 GB, free: 7.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.4795, allocations: 426.4 kB / 0.547 GB, free: 7.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4795, allocations: 0 / 0.547 GB, free: 7.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004891/0.4844, allocations: 1.535 MB / 0.5485 GB, free: 5.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4845, allocations: 7.125 kB / 0.5485 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4845, allocations: 0 / 0.5485 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/0.4888, allocations: 0.8904 MB / 0.5494 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.4893, allocations: 87.88 kB / 0.5495 GB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.4997, allocations: 4.381 MB / 0.5537 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.5004, allocations: 39.52 kB / 0.5538 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5006, allocations: 23.98 kB / 0.5538 GB, free: 452 kB / 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 (52): * Single equations (assignments): 51 * 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 {15 13} Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.5008, allocations: 114.8 kB / 0.5539 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.501, allocations: 55.38 kB / 0.554 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/0.5064, allocations: 1.668 MB / 0.5556 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5064, allocations: 8 kB / 0.5556 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5064, allocations: 3.906 kB / 0.5556 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5064, allocations: 3.984 kB / 0.5556 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5078, allocations: 0.7994 MB / 0.5564 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5078, allocations: 3.906 kB / 0.5564 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.5082, allocations: 95.88 kB / 0.5565 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004202/0.5124, allocations: 0.8756 MB / 0.5573 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.5126, allocations: 15.92 kB / 0.5573 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.5227, allocations: 4.384 MB / 0.5616 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.5228, allocations: 3.984 kB / 0.5616 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005205/0.528, allocations: 1.568 MB / 0.5632 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.5283, allocations: 136.3 kB / 0.5633 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5284, allocations: 0 / 0.5633 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.529, allocations: 31.97 kB / 0.5633 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5292, allocations: 44.7 kB / 0.5634 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/0.5293, allocations: 24 kB / 0.5634 GB, free: 6.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003132/0.5296, allocations: 208.6 kB / 0.5636 GB, free: 6.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000949/0.5306, allocations: 215.7 kB / 0.5638 GB, free: 5.98 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 (58): * Single equations (assignments): 57 * 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 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003769/0.531, allocations: 119.1 kB / 0.5639 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003802/0.5348, allocations: 1.255 MB / 0.5651 GB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.5348, allocations: 4 kB / 0.5651 GB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.5376, allocations: 0.894 MB / 0.566 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.538, allocations: 29.2 kB / 0.566 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.5403, allocations: 0.7258 MB / 0.5667 GB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.5409, allocations: 0.9161 MB / 0.5676 GB, free: 1.953 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5409, allocations: 0 / 0.5676 GB, free: 1.953 MB / 378.7 MB Notification: Performance of Templates: time 0.02237/0.5632, allocations: 13.22 MB / 0.5806 GB, free: 4.773 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)