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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) [: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.0009993/0.0009993, allocations: 186.9 kB / 7.845 MB, free: 2.512 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.175/1.175, 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.0009534/0.0009533, allocations: 100.1 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.04065/0.04065, allocations: 8.099 MB / 339.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1985/0.2392, allocations: 58.62 MB / 398 MB, free: 67.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.3218, allocations: 52.52 MB / 450.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.5698, allocations: 81.88 MB / 0.5199 GB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.57, allocations: 67.34 kB / 0.52 GB, free: 12.2 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.04756/0.6175, allocations: 17.83 MB / 0.5374 GB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6176, allocations: 11.94 kB / 0.5374 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.6179, allocations: 71.23 kB / 0.5375 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.6186, allocations: 392.7 kB / 0.5379 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.6187, allocations: 50.69 kB / 0.5379 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.6188, allocations: 27.91 kB / 0.5379 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001003/0.6198, allocations: 0.6048 MB / 0.5385 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/0.6208, allocations: 0.614 MB / 0.5391 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.6208, allocations: 2.188 kB / 0.5391 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.6209, allocations: 4 kB / 0.5391 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.6209, allocations: 8 kB / 0.5391 GB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.625, allocations: 2.82 MB / 0.5419 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.6259, allocations: 0.6776 MB / 0.5426 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.6265, allocations: 418.5 kB / 0.543 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.6267, allocations: 97.73 kB / 0.543 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/0.6274, allocations: 469.5 kB / 0.5435 GB, free: 9.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.224e-06/0.6274, allocations: 4 kB / 0.5435 GB, free: 9.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.004659/0.6321, allocations: 1.472 MB / 0.5449 GB, free: 8.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.6322, allocations: 85.77 kB / 0.545 GB, free: 8.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.6325, allocations: 268.9 kB / 0.5453 GB, free: 8.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.6326, allocations: 29.7 kB / 0.5453 GB, free: 8.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.6328, allocations: 162.7 kB / 0.5455 GB, free: 7.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.633, allocations: 241.5 kB / 0.5457 GB, free: 7.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.633, allocations: 0 / 0.5457 GB, free: 7.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6332, allocations: 364 kB / 0.546 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.6337, allocations: 328.1 kB / 0.5463 GB, free: 7.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.6343, allocations: 388.4 kB / 0.5467 GB, free: 7.031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.6355, allocations: 423.6 kB / 0.5471 GB, free: 6.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6355, allocations: 0 / 0.5471 GB, free: 6.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004901/0.6404, allocations: 1.531 MB / 0.5486 GB, free: 5.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6405, allocations: 8 kB / 0.5486 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6405, allocations: 0 / 0.5486 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.6447, allocations: 0.8879 MB / 0.5495 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.6452, allocations: 91.88 kB / 0.5496 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009694/0.6549, allocations: 4.388 MB / 0.5539 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.6556, allocations: 35.53 kB / 0.5539 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.6557, allocations: 27.98 kB / 0.5539 GB, free: 240 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.0002127/0.6559, allocations: 116.8 kB / 0.554 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6561, allocations: 51.44 kB / 0.5541 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/0.6612, allocations: 1.657 MB / 0.5557 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.6612, allocations: 8 kB / 0.5557 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6612, allocations: 3.906 kB / 0.5557 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6613, allocations: 3.984 kB / 0.5557 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.6624, allocations: 0.8072 MB / 0.5565 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6624, allocations: 7.906 kB / 0.5565 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.6628, allocations: 99.81 kB / 0.5566 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003978/0.6668, allocations: 0.8794 MB / 0.5575 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/0.6669, allocations: 7.984 kB / 0.5575 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009368/0.6762, allocations: 4.378 MB / 0.5617 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.6763, allocations: 0 / 0.5617 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005174/0.6815, allocations: 1.568 MB / 0.5633 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004831/0.6863, allocations: 1.955 MB / 0.5652 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.6866, allocations: 136.3 kB / 0.5653 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6867, allocations: 3.906 kB / 0.5653 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.6872, allocations: 35.97 kB / 0.5654 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.6874, allocations: 36.72 kB / 0.5654 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.6875, allocations: 31.98 kB / 0.5654 GB, free: 4.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002374/0.6877, allocations: 200.6 kB / 0.5656 GB, free: 4.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001415/0.6891, allocations: 219.8 kB / 0.5658 GB, free: 3.789 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.0002843/0.6894, allocations: 115.1 kB / 0.5659 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.693, allocations: 1.255 MB / 0.5672 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.693, allocations: 0 / 0.5672 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.6956, allocations: 0.8979 MB / 0.568 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.696, allocations: 37.11 kB / 0.5681 GB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.6979, allocations: 0.7335 MB / 0.5688 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.6985, allocations: 0.9161 MB / 0.5697 GB, free: 15.75 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6985, allocations: 0 / 0.5697 GB, free: 15.75 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)