Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.9 kB / 8.135 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.36/1.36, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0009345/0.0009345, allocations: 94.61 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1743/0.1743, allocations: 37.96 MB / 347.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2141/0.3884, allocations: 62.44 MB / 410.1 MB, free: 46.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.5063, allocations: 56.32 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.8601, allocations: 101.4 MB / 0.5545 GB, free: 9.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.8605, allocations: 87.94 kB / 0.5546 GB, free: 9.066 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.04566/0.9061, allocations: 13.97 MB / 0.5683 GB, free: 10.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.9062, allocations: 12 kB / 0.5683 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.9069, allocations: 95.28 kB / 0.5684 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.9098, allocations: 0.9322 MB / 0.5693 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.9099, allocations: 15.94 kB / 0.5693 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.91, allocations: 24 kB / 0.5693 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008244/0.9108, allocations: 449.8 kB / 0.5697 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.9119, allocations: 0.627 MB / 0.5704 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.9119, allocations: 0 / 0.5704 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.9119, allocations: 4.75 kB / 0.5704 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-05/0.912, allocations: 32.77 kB / 0.5704 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.9163, allocations: 2.946 MB / 0.5733 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.917, allocations: 333.5 kB / 0.5736 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.9173, allocations: 198 kB / 0.5738 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.9174, allocations: 4.266 kB / 0.5738 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.9174, allocations: 38.48 kB / 0.5738 GB, free: 4.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.697e-06/0.9174, allocations: 0 / 0.5738 GB, free: 4.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002438/0.9199, allocations: 1.147 MB / 0.5749 GB, free: 3.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.9199, allocations: 85.05 kB / 0.575 GB, free: 3.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.9203, allocations: 325.9 kB / 0.5753 GB, free: 3.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.9204, allocations: 25.7 kB / 0.5754 GB, free: 3.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.9206, allocations: 247.3 kB / 0.5756 GB, free: 3.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.9207, allocations: 122.2 kB / 0.5757 GB, free: 2.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.9208, allocations: 4 kB / 0.5757 GB, free: 2.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.921, allocations: 354.8 kB / 0.5761 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.9213, allocations: 201.1 kB / 0.5762 GB, free: 2.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.9217, allocations: 370 kB / 0.5766 GB, free: 1.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.9221, allocations: 269 kB / 0.5769 GB, free: 1.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9221, allocations: 0 / 0.5769 GB, free: 1.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002314/0.9245, allocations: 0.8011 MB / 0.5776 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9245, allocations: 7.984 kB / 0.5776 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.9245, allocations: 8 kB / 0.5777 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/0.9264, allocations: 261.5 kB / 0.5779 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.9271, allocations: 135.8 kB / 0.578 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/0.9325, allocations: 3.553 MB / 0.5815 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.933, allocations: 16.05 kB / 0.5815 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/0.9331, allocations: 24.06 kB / 0.5815 GB, free: 12.64 MB / 426.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.0001907/0.9333, allocations: 116.8 kB / 0.5816 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.9335, allocations: 47.44 kB / 0.5817 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.9347, allocations: 0.5247 MB / 0.5822 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.9347, allocations: 4 kB / 0.5822 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.9347, allocations: 0 / 0.5822 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.9347, allocations: 7.891 kB / 0.5822 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.9367, allocations: 1.012 MB / 0.5832 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9367, allocations: 4.062 kB / 0.5832 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.9372, allocations: 91.88 kB / 0.5833 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.9373, allocations: 0 / 0.5833 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.9373, allocations: 8.188 kB / 0.5833 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.9373, allocations: 11.98 kB / 0.5833 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9373, allocations: 0 / 0.5833 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001219/0.9386, allocations: 0.8712 MB / 0.5842 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001681/0.9402, allocations: 1.524 MB / 0.5857 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.9404, allocations: 116.6 kB / 0.5858 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.9405, allocations: 8.094 kB / 0.5858 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.9408, allocations: 15.92 kB / 0.5858 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.9409, allocations: 23.81 kB / 0.5858 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.9409, allocations: 16 kB / 0.5858 GB, free: 8.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002466/0.9411, allocations: 244.6 kB / 0.5861 GB, free: 7.828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00117/0.9423, allocations: 123.9 kB / 0.5862 GB, free: 7.707 MB / 426.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.0002024/0.9425, allocations: 123.2 kB / 0.5863 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.9441, allocations: 0.7662 MB / 0.587 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9441, allocations: 0 / 0.587 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.9445, allocations: 229.5 kB / 0.5873 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.945, allocations: 69.25 kB / 0.5873 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.9472, allocations: 1.041 MB / 0.5883 GB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/0.9479, allocations: 0.9596 MB / 0.5893 GB, free: 4.434 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9479, allocations: 0 / 0.5893 GB, free: 4.434 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)