Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",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.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 182.8 kB / 8.132 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008139/0.0008138, allocations: 91.28 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1894/0.1894, allocations: 37.97 MB / 347.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2473/0.4368, allocations: 62.43 MB / 410.1 MB, free: 46.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.5712, allocations: 56.32 MB / 466.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.9528, allocations: 99.41 MB / 0.5526 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.9531, allocations: 79.95 kB / 0.5526 GB, free: 11.03 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.04072/0.9938, allocations: 13.51 MB / 0.5658 GB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9939, allocations: 12 kB / 0.5658 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.9945, allocations: 87.28 kB / 0.5659 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.9968, allocations: 0.8567 MB / 0.5668 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.9968, allocations: 12 kB / 0.5668 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.9969, allocations: 20 kB / 0.5668 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007806/0.9977, allocations: 489.6 kB / 0.5673 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.9986, allocations: 0.6077 MB / 0.5679 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.9986, allocations: 3.906 kB / 0.5679 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.9986, allocations: 7.984 kB / 0.5679 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.9988, allocations: 44.75 kB / 0.5679 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/1.003, allocations: 2.392 MB / 0.5702 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/1.003, allocations: 317 kB / 0.5705 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/1.004, allocations: 266.7 kB / 0.5708 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/1.004, allocations: 8.219 kB / 0.5708 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.004, allocations: 38.84 kB / 0.5708 GB, free: 7.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/1.004, allocations: 3.938 kB / 0.5708 GB, free: 7.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.003041/1.007, allocations: 1.56 MB / 0.5724 GB, free: 6.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.007, allocations: 81.11 kB / 0.5724 GB, free: 6.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/1.007, allocations: 231.3 kB / 0.5727 GB, free: 6.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/1.007, allocations: 25.7 kB / 0.5727 GB, free: 6.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.007, allocations: 220.4 kB / 0.5729 GB, free: 5.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.007, allocations: 161.7 kB / 0.5731 GB, free: 5.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/1.007, allocations: 0 / 0.5731 GB, free: 5.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/1.008, allocations: 354.7 kB / 0.5734 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.008, allocations: 225 kB / 0.5736 GB, free: 5.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/1.008, allocations: 376.9 kB / 0.574 GB, free: 4.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/1.009, allocations: 384 kB / 0.5743 GB, free: 4.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.009, allocations: 4 kB / 0.5743 GB, free: 4.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001534/1.011, allocations: 0.8024 MB / 0.5751 GB, free: 3.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.011, allocations: 8 kB / 0.5751 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001189/1.012, allocations: 0.6217 MB / 0.5757 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/1.012, allocations: 76.81 kB / 0.5758 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/1.013, allocations: 95.83 kB / 0.5759 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/1.014, allocations: 1.513 MB / 0.5774 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/1.015, allocations: 16.03 kB / 0.5774 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/1.015, allocations: 23.98 kB / 0.5774 GB, free: 0.9609 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * Array equations: 3 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.015, allocations: 116.9 kB / 0.5775 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/1.015, allocations: 31.53 kB / 0.5776 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.016, allocations: 0.6725 MB / 0.5782 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/1.017, allocations: 15.98 kB / 0.5782 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.017, allocations: 4 kB / 0.5782 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.017, allocations: 7.891 kB / 0.5782 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/1.019, allocations: 1.244 MB / 0.5795 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.019, allocations: 0 / 0.5795 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/1.019, allocations: 75.89 kB / 0.5795 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.019, allocations: 4 kB / 0.5795 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.019, allocations: 8.094 kB / 0.5795 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.019, allocations: 4 kB / 0.5795 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.019, allocations: 3.938 kB / 0.5796 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001572/1.021, allocations: 1.115 MB / 0.5806 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002132/1.023, allocations: 1.825 MB / 0.5824 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.023, allocations: 108.6 kB / 0.5825 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/1.023, allocations: 7.938 kB / 0.5825 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/1.024, allocations: 15.97 kB / 0.5825 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/1.024, allocations: 19.98 kB / 0.5826 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/1.024, allocations: 11.98 kB / 0.5826 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001865/1.024, allocations: 179.1 kB / 0.5828 GB, free: 11.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001234/1.025, allocations: 127.8 kB / 0.5829 GB, free: 11.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * 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.0002369/1.025, allocations: 135.1 kB / 0.583 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/1.027, allocations: 0.6796 MB / 0.5837 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.027, allocations: 0 / 0.5837 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/1.027, allocations: 287.8 kB / 0.5839 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/1.027, allocations: 46.33 kB / 0.584 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/1.029, allocations: 0.946 MB / 0.5849 GB, free: 9.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/1.03, allocations: 0.9331 MB / 0.5858 GB, free: 8.074 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.03, allocations: 4 kB / 0.5858 GB, free: 8.07 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)