Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE13",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.002088/0.002088, allocations: 181 kB / 7.459 MB, free: 2.5 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.094/1.094, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008305/0.0008305, allocations: 90.58 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3574/0.3574, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1187/0.4762, allocations: 75.49 MB / 484.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.7033, allocations: 69.34 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.8156, allocations: 111.5 MB / 0.6497 GB, free: 9.348 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.8159, allocations: 67.97 kB / 0.6498 GB, free: 9.281 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1006 * Number of variables: 1006 Notification: Performance of Generate backend data structure: time 0.4685/1.284, allocations: 122.5 MB / 0.7694 GB, free: 39.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.284, allocations: 8 kB / 0.7694 GB, free: 39.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/1.286, allocations: 0.8254 MB / 0.7702 GB, free: 38.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008622/1.295, allocations: 5.884 MB / 0.776 GB, free: 32.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.295, allocations: 312.1 kB / 0.7763 GB, free: 32.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007059/1.296, allocations: 172 kB / 0.7765 GB, free: 31.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01765/1.314, allocations: 13.57 MB / 0.7897 GB, free: 18.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008743/1.322, allocations: 7.338 MB / 0.7969 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/1.323, allocations: 3.984 kB / 0.7969 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004948/1.323, allocations: 0 / 0.7969 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/1.323, allocations: 0.4917 MB / 0.7974 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05258/1.376, allocations: 32.23 MB / 0.8288 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008032/1.384, allocations: 5.97 MB / 0.8347 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005929/1.39, allocations: 4.741 MB / 0.8393 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.391, allocations: 1.991 MB / 0.8412 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.391, allocations: 69.52 kB / 0.8413 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=391): time 5.951e-06/1.391, allocations: 4 kB / 0.8413 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=391): time 0.02275/1.414, allocations: 13.73 MB / 0.8547 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.414, allocations: 90.36 kB / 0.8548 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.426, allocations: 7.991 MB / 0.8626 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.428, allocations: 29.69 kB / 0.8626 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.429, allocations: 1.706 MB / 0.8643 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002268/1.431, allocations: 1.278 MB / 0.8655 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/1.431, allocations: 0 / 0.8655 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.432, allocations: 450.1 kB / 0.866 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.437, allocations: 3.905 MB / 0.8698 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005371/1.442, allocations: 4.565 MB / 0.8742 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005703/1.448, allocations: 4.247 MB / 0.8784 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/1.448, allocations: 8 kB / 0.8784 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.1886/1.636, allocations: 13.76 MB / 0.8918 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.636, allocations: 6.406 kB / 0.8918 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/1.636, allocations: 17.91 kB / 0.8919 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08107/1.717, allocations: 27.21 MB / 0.9184 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.72, allocations: 430.5 kB / 0.9188 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03452/1.755, allocations: 20.35 MB / 0.9387 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/1.76, allocations: 394.8 kB / 0.9391 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005473/1.76, allocations: 142.2 kB / 0.9392 GB, free: 160.1 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: SpotLoad611.Va:VARIABLE(protected = true ) type: Real SpotLoad692.Vab:VARIABLE(protected = true ) type: Real SpotLoad646.Vab:VARIABLE(protected = true ) type: Real SpotLoad645.Va:VARIABLE(protected = true ) type: Real DisLoad632.Vc:VARIABLE(protected = true ) type: Real DisLoad632.Va:VARIABLE(protected = true ) type: Real SpotLoad634.Vb:VARIABLE(protected = true ) type: Real SpotLoad634.Vc:VARIABLE(protected = true ) type: Real SpotLoad634.Va:VARIABLE(protected = true ) type: Real SpotLoad652.Va:VARIABLE(protected = true ) type: Real DistLoad671.Va:VARIABLE(protected = true ) type: Real DistLoad671.Vc:VARIABLE(protected = true ) type: Real SpotLoad675.Vc:VARIABLE(protected = true ) type: Real SpotLoad675.Vb:VARIABLE(protected = true ) type: Real SpotLoad675.Va:VARIABLE(protected = true ) type: Real DistLoad671.Vb:VARIABLE(protected = true ) type: Real DisLoad632.Vb:VARIABLE(protected = true ) type: Real SpotLoad646.Coef:VARIABLE(protected = true ) type: Real SpotLoad645.Coef:VARIABLE(protected = true ) type: Real SpotLoad652.Coef:VARIABLE(protected = true ) type: Real SpotLoad611.Coef:VARIABLE(protected = true ) type: Real SpotLoad692.Coef:VARIABLE(protected = true ) type: Real SpotLoad634.Coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad634.Coef[1,3]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad634.Coef[1,2]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad675.Coef[1,3]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad675.Coef[1,2]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad675.Coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] DistLoad671.Coef[1,2]:VARIABLE(protected = true ) type: Real [1,3] DistLoad671.Coef[1,3]:VARIABLE(protected = true ) type: Real [1,3] DistLoad671.Coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad671.Coef[1,2]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad671.Coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] SpotLoad671.Coef[1,3]:VARIABLE(protected = true ) type: Real [1,3] DisLoad632.Coef[1,3]:VARIABLE(protected = true ) type: Real [1,3] DisLoad632.Coef[1,2]:VARIABLE(protected = true ) type: Real [1,3] DisLoad632.Coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 3 (breaker.Open,breaker2.Open,breaker3.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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 {126 187} Notification: Performance of prepare postOptimizeDAE: time 0.0008531/1.761, allocations: 202.5 kB / 0.9394 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.762, allocations: 0.6774 MB / 0.9401 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/1.784, allocations: 15.29 MB / 0.955 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.784e-05/1.784, allocations: 51.77 kB / 0.9551 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.784, allocations: 2.656 kB / 0.9551 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/1.784, allocations: 20.52 kB / 0.9551 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.794, allocations: 7.933 MB / 0.9628 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.794, allocations: 0 / 0.9628 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/1.796, allocations: 250.5 kB / 0.9631 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08095/1.877, allocations: 27.32 MB / 0.9898 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/1.878, allocations: 22.92 kB / 0.9898 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03433/1.913, allocations: 20.52 MB / 1.01 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.913, allocations: 2.906 kB / 1.01 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01998/1.933, allocations: 14.48 MB / 1.024 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02084/1.954, allocations: 14.99 MB / 1.039 GB, free: 91.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/1.956, allocations: 1.282 MB / 1.04 GB, free: 90.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/1.958, allocations: 0 / 1.04 GB, free: 90.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00435/1.963, allocations: 169.6 kB / 1.04 GB, free: 90.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007892/1.964, allocations: 181.5 kB / 1.04 GB, free: 90.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004171/1.964, allocations: 90.81 kB / 1.04 GB, free: 90.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.007917/1.972, allocations: 6.149 MB / 1.046 GB, free: 85.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007239/1.979, allocations: 2.245 MB / 1.048 GB, free: 83.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (breaker.Open,breaker2.Open,breaker3.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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 {130 183} Notification: Performance of Backend phase and start with SimCode phase: time 0.003138/1.982, allocations: 0.6662 MB / 1.049 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01977/2.002, allocations: 12.37 MB / 1.061 GB, free: 71.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/2.002, allocations: 0 / 1.061 GB, free: 71.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01658/2.019, allocations: 8.01 MB / 1.069 GB, free: 64.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/2.022, allocations: 421.7 kB / 1.069 GB, free: 64.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/2.046, allocations: 12.1 MB / 1.081 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004711/2.051, allocations: 4.181 MB / 1.085 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/2.051, allocations: 4 kB / 1.085 GB, free: 50.09 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE13_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_ThreePhase_IEEE13.fmu > OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)