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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",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.0009889/0.0009889, allocations: 196.3 kB / 7.849 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.187/1.187, allocations: 221.4 MB / 229.6 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.0008664/0.0008664, allocations: 91.22 kB / 280.5 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03852/0.03852, allocations: 8.103 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1763/0.2149, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.3111, allocations: 52.51 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.571, allocations: 81.78 MB / 0.5198 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.5712, allocations: 69.78 kB / 0.5199 GB, free: 12.59 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.03895/0.6102, allocations: 14.79 MB / 0.5343 GB, free: 1.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.6102, allocations: 11.94 kB / 0.5343 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.6104, allocations: 51.88 kB / 0.5344 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.611, allocations: 345.8 kB / 0.5347 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.6111, allocations: 46.39 kB / 0.5348 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.6112, allocations: 24.69 kB / 0.5348 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007844/0.612, allocations: 498.2 kB / 0.5353 GB, free: 328 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.6128, allocations: 0.496 MB / 0.5357 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6129, allocations: 4 kB / 0.5357 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.6129, allocations: 7.984 kB / 0.5358 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.613, allocations: 8 kB / 0.5358 GB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.6165, allocations: 2.328 MB / 0.538 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.6173, allocations: 0.5502 MB / 0.5386 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.6177, allocations: 331.1 kB / 0.5389 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.618, allocations: 97.45 kB / 0.539 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/0.6185, allocations: 374.9 kB / 0.5393 GB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.986e-06/0.6185, allocations: 4 kB / 0.5393 GB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.003676/0.6222, allocations: 1.148 MB / 0.5405 GB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.6223, allocations: 85.61 kB / 0.5405 GB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.6225, allocations: 227.5 kB / 0.5408 GB, free: 11.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.6226, allocations: 29.69 kB / 0.5408 GB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.6227, allocations: 150.4 kB / 0.5409 GB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.6229, allocations: 196.4 kB / 0.5411 GB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.6229, allocations: 0 / 0.5411 GB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.623, allocations: 348.7 kB / 0.5415 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.6234, allocations: 266.8 kB / 0.5417 GB, free: 11.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.6238, allocations: 323.5 kB / 0.542 GB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.6247, allocations: 337.3 kB / 0.5423 GB, free: 10.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6248, allocations: 0 / 0.5423 GB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003621/0.6284, allocations: 1.226 MB / 0.5435 GB, free: 9.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6284, allocations: 7.281 kB / 0.5435 GB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6284, allocations: 0 / 0.5435 GB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.6315, allocations: 0.6279 MB / 0.5442 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.6319, allocations: 71.89 kB / 0.5442 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.6388, allocations: 3.698 MB / 0.5478 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.6393, allocations: 31.59 kB / 0.5479 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.6394, allocations: 23.28 kB / 0.5479 GB, free: 6.453 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.0001664/0.6396, allocations: 117 kB / 0.548 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.6397, allocations: 43.44 kB / 0.548 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.6435, allocations: 1.296 MB / 0.5493 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6436, allocations: 8 kB / 0.5493 GB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6436, allocations: 0 / 0.5493 GB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.6436, allocations: 3.984 kB / 0.5493 GB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.6444, allocations: 0.6665 MB / 0.55 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6444, allocations: 7.906 kB / 0.55 GB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.6447, allocations: 75.89 kB / 0.55 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/0.6477, allocations: 0.6323 MB / 0.5507 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.6478, allocations: 11.98 kB / 0.5507 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.6547, allocations: 3.689 MB / 0.5543 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6547, allocations: 3.938 kB / 0.5543 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003638/0.6584, allocations: 1.221 MB / 0.5555 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003749/0.6622, allocations: 1.612 MB / 0.557 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.6623, allocations: 128.4 kB / 0.5572 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.6624, allocations: 3.984 kB / 0.5572 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.6628, allocations: 23.98 kB / 0.5572 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.6629, allocations: 40.53 kB / 0.5572 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.663, allocations: 16 kB / 0.5573 GB, free: 12.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000185/0.6632, allocations: 183.1 kB / 0.5574 GB, free: 12.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001185/0.6644, allocations: 159.9 kB / 0.5576 GB, free: 12.41 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.0002745/0.6646, allocations: 131.1 kB / 0.5577 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.6672, allocations: 0.9807 MB / 0.5587 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6672, allocations: 0 / 0.5587 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.6691, allocations: 0.687 MB / 0.5593 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.6694, allocations: 28.55 kB / 0.5594 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.671, allocations: 0.5875 MB / 0.5599 GB, free: 9.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.6715, allocations: 0.8758 MB / 0.5608 GB, free: 9.047 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6715, allocations: 0 / 0.5608 GB, free: 9.047 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)