Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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 3.2.2+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 182.9 kB / 8.137 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.041/1.041, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001664/0.001664, allocations: 122.6 kB / 247.7 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1582/0.1582, allocations: 37.91 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1831/0.3413, allocations: 59.35 MB / 389.9 MB, free: 78.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.4174, allocations: 53.23 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2469/0.6643, allocations: 96.39 MB / 0.5269 GB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.6646, allocations: 86.67 kB / 0.5269 GB, free: 8.871 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.03952/0.7041, allocations: 13.96 MB / 0.5406 GB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7042, allocations: 12 kB / 0.5406 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/0.7047, allocations: 94.59 kB / 0.5407 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.7071, allocations: 0.9208 MB / 0.5416 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.7072, allocations: 15.91 kB / 0.5416 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.7073, allocations: 31.69 kB / 0.5416 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006921/0.708, allocations: 445.1 kB / 0.542 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.7089, allocations: 0.6278 MB / 0.5427 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.7089, allocations: 3.938 kB / 0.5427 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.7089, allocations: 4 kB / 0.5427 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.7091, allocations: 31.77 kB / 0.5427 GB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.7125, allocations: 2.944 MB / 0.5456 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.713, allocations: 319.3 kB / 0.5459 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.7133, allocations: 198.7 kB / 0.5461 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.7133, allocations: 8 kB / 0.5461 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7133, allocations: 41.3 kB / 0.5461 GB, free: 10.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.7133, allocations: 0 / 0.5461 GB, free: 10.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001775/0.7151, allocations: 1.145 MB / 0.5472 GB, free: 9.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.7152, allocations: 84.67 kB / 0.5473 GB, free: 8.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.7156, allocations: 317 kB / 0.5476 GB, free: 8.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.7156, allocations: 29.73 kB / 0.5476 GB, free: 8.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7158, allocations: 247.7 kB / 0.5479 GB, free: 8.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.7159, allocations: 125.1 kB / 0.548 GB, free: 8.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.7159, allocations: 0 / 0.548 GB, free: 8.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.716, allocations: 356.5 kB / 0.5483 GB, free: 8.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.7163, allocations: 197.5 kB / 0.5485 GB, free: 7.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.7167, allocations: 368.7 kB / 0.5489 GB, free: 7.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.7171, allocations: 271 kB / 0.5491 GB, free: 7.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7171, allocations: 0 / 0.5491 GB, free: 7.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002095/0.7192, allocations: 0.8035 MB / 0.5499 GB, free: 6.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.7192, allocations: 4 kB / 0.5499 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7192, allocations: 8 kB / 0.5499 GB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.721, allocations: 262.3 kB / 0.5502 GB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.7217, allocations: 139.5 kB / 0.5503 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/0.7262, allocations: 3.552 MB / 0.5538 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.7266, allocations: 11.98 kB / 0.5538 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.7266, allocations: 27.48 kB / 0.5538 GB, free: 2.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.7268, allocations: 116.8 kB / 0.5539 GB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.7269, allocations: 39.5 kB / 0.554 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.7277, allocations: 0.5242 MB / 0.5545 GB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.7278, allocations: 14.98 kB / 0.5545 GB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.7278, allocations: 3.938 kB / 0.5545 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.7278, allocations: 0 / 0.5545 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.7292, allocations: 1.023 MB / 0.5555 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.7292, allocations: 8 kB / 0.5555 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.7298, allocations: 83.27 kB / 0.5556 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.7298, allocations: 4 kB / 0.5556 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.7298, allocations: 7.984 kB / 0.5556 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.7298, allocations: 4 kB / 0.5556 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7298, allocations: 3.938 kB / 0.5556 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00107/0.7309, allocations: 0.8689 MB / 0.5565 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001446/0.7324, allocations: 1.522 MB / 0.5579 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.7325, allocations: 112.6 kB / 0.558 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.7326, allocations: 7.984 kB / 0.5581 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.7329, allocations: 11.98 kB / 0.5581 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.7329, allocations: 23.75 kB / 0.5581 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.733, allocations: 11.81 kB / 0.5581 GB, free: 15.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002191/0.7332, allocations: 238.6 kB / 0.5583 GB, free: 14.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001104/0.7343, allocations: 127.9 kB / 0.5584 GB, free: 14.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.7345, allocations: 119.1 kB / 0.5586 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.7359, allocations: 0.7719 MB / 0.5593 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7359, allocations: 0 / 0.5593 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.7363, allocations: 228 kB / 0.5595 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.7367, allocations: 71.56 kB / 0.5596 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.7386, allocations: 1.062 MB / 0.5606 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.7393, allocations: 0.963 MB / 0.5616 GB, free: 11.8 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7393, allocations: 0 / 0.5616 GB, free: 11.8 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)