Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",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.0009518/0.0009519, allocations: 185.7 kB / 8.136 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9746/0.9746, allocations: 194.2 MB / 202.8 MB, free: 8.723 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.00162/0.00162, allocations: 115.9 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1492/0.1492, allocations: 37.91 MB / 330.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/0.3286, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06982/0.3984, allocations: 53.23 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.636, allocations: 94.24 MB / 0.5248 GB, free: 9.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.6362, allocations: 80.11 kB / 0.5248 GB, free: 9.285 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.06775/0.704, allocations: 26.7 MB / 0.5509 GB, free: 6.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7041, allocations: 8 kB / 0.5509 GB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.7051, allocations: 170.7 kB / 0.5511 GB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.7083, allocations: 1.301 MB / 0.5523 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.7084, allocations: 35.5 kB / 0.5524 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.7085, allocations: 48 kB / 0.5524 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/0.7098, allocations: 0.8529 MB / 0.5533 GB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.7112, allocations: 1.043 MB / 0.5543 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.7113, allocations: 7.938 kB / 0.5543 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.7114, allocations: 0 / 0.5543 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.692e-05/0.7114, allocations: 87.94 kB / 0.5544 GB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/0.7162, allocations: 4.119 MB / 0.5584 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.7171, allocations: 0.592 MB / 0.559 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.7175, allocations: 306.9 kB / 0.5593 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.7175, allocations: 8.5 kB / 0.5593 GB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7176, allocations: 39 kB / 0.5593 GB, free: 14.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.827e-06/0.7176, allocations: 4 kB / 0.5593 GB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002068/0.7197, allocations: 1.453 MB / 0.5607 GB, free: 13.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.7197, allocations: 93.2 kB / 0.5608 GB, free: 13.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.7202, allocations: 455.4 kB / 0.5613 GB, free: 13.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.7202, allocations: 29.7 kB / 0.5613 GB, free: 13.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.7205, allocations: 386.8 kB / 0.5617 GB, free: 12.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.7207, allocations: 213.2 kB / 0.5619 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.7207, allocations: 4.031 kB / 0.5619 GB, free: 12.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.7209, allocations: 387 kB / 0.5622 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.7213, allocations: 272 kB / 0.5625 GB, free: 12.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.7219, allocations: 0.6007 MB / 0.5631 GB, free: 11.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.7225, allocations: 403.6 kB / 0.5635 GB, free: 11.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.7225, allocations: 7.938 kB / 0.5635 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001835/0.7243, allocations: 1.092 MB / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7243, allocations: 4 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001131/0.7255, allocations: 0.6878 MB / 0.5652 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.7262, allocations: 222.5 kB / 0.5654 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.7269, allocations: 209.8 kB / 0.5656 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.7308, allocations: 4.644 MB / 0.5702 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.7313, allocations: 12 kB / 0.5702 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.7313, allocations: 47.47 kB / 0.5702 GB, free: 4.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.7315, allocations: 159.1 kB / 0.5704 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.7316, allocations: 67.19 kB / 0.5704 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.7325, allocations: 0.6163 MB / 0.571 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.7325, allocations: 4 kB / 0.571 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7325, allocations: 7.984 kB / 0.571 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7325, allocations: 0 / 0.571 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.7348, allocations: 1.492 MB / 0.5725 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7348, allocations: 0 / 0.5725 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.7356, allocations: 163.8 kB / 0.5727 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.7356, allocations: 4 kB / 0.5727 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.7356, allocations: 15.48 kB / 0.5727 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.7356, allocations: 8 kB / 0.5727 GB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7357, allocations: 4 kB / 0.5727 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001134/0.7368, allocations: 1.132 MB / 0.5738 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001588/0.7384, allocations: 1.843 MB / 0.5756 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.7386, allocations: 177.7 kB / 0.5758 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.7387, allocations: 4 kB / 0.5758 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.7391, allocations: 7.984 kB / 0.5758 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.7392, allocations: 58.09 kB / 0.5758 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.7392, allocations: 19.19 kB / 0.5758 GB, free: 15.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000304/0.7395, allocations: 321.7 kB / 0.5762 GB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001393/0.7409, allocations: 204.4 kB / 0.5763 GB, free: 15.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * 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.0001885/0.7411, allocations: 136.8 kB / 0.5765 GB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.7425, allocations: 1.025 MB / 0.5775 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7425, allocations: 4.188 kB / 0.5775 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.7429, allocations: 325.6 kB / 0.5778 GB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.7435, allocations: 124.2 kB / 0.5779 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.746, allocations: 1.605 MB / 0.5795 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.7472, allocations: 1.153 MB / 0.5806 GB, free: 10.62 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7473, allocations: 4 kB / 0.5806 GB, free: 10.62 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)