Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_ThreePhase_IEEE13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_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.003581/0.003581, allocations: 182.9 kB / 7.459 MB, free: 2.512 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.397/1.397, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.000991/0.000991, allocations: 100.7 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4908/0.4908, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1957/0.6866, allocations: 75.49 MB / 484.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/1.121, allocations: 69.35 MB / 0.5408 GB, free: 21.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/1.28, allocations: 111.5 MB / 0.6497 GB, free: 9.254 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.28, allocations: 67.97 kB / 0.6498 GB, free: 9.188 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.7181/1.998, allocations: 122.5 MB / 0.7694 GB, free: 39.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.998, allocations: 8 kB / 0.7694 GB, free: 39.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/2.003, allocations: 0.8215 MB / 0.7702 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01623/2.019, allocations: 5.892 MB / 0.776 GB, free: 32.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/2.02, allocations: 308.1 kB / 0.7763 GB, free: 32.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003901/2.024, allocations: 168 kB / 0.7764 GB, free: 31.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02684/2.051, allocations: 13.57 MB / 0.7897 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/2.073, allocations: 7.334 MB / 0.7968 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/2.073, allocations: 0 / 0.7968 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003095/2.076, allocations: 0 / 0.7968 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006143/2.077, allocations: 0.4956 MB / 0.7973 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08907/2.166, allocations: 32.23 MB / 0.8288 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/2.177, allocations: 5.971 MB / 0.8346 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007893/2.185, allocations: 4.741 MB / 0.8393 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/2.187, allocations: 1.987 MB / 0.8412 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.526e-05/2.187, allocations: 77.5 kB / 0.8413 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=391): time 1.091e-05/2.187, allocations: 0 / 0.8413 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=391): time 0.03723/2.224, allocations: 13.74 MB / 0.8547 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/2.224, allocations: 90.36 kB / 0.8548 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02219/2.247, allocations: 7.998 MB / 0.8626 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001821/2.248, allocations: 25.7 kB / 0.8626 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002533/2.251, allocations: 1.706 MB / 0.8643 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003948/2.255, allocations: 1.274 MB / 0.8655 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/2.256, allocations: 0 / 0.8655 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000295/2.256, allocations: 450.1 kB / 0.8659 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/2.262, allocations: 3.904 MB / 0.8698 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00698/2.269, allocations: 4.565 MB / 0.8742 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/2.276, allocations: 4.243 MB / 0.8784 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.437e-05/2.276, allocations: 7.938 kB / 0.8784 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.3238/2.6, allocations: 13.76 MB / 0.8918 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/2.6, allocations: 3.719 kB / 0.8918 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.467e-05/2.6, allocations: 20.28 kB / 0.8918 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09319/2.694, allocations: 27.21 MB / 0.9184 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/2.697, allocations: 431.3 kB / 0.9188 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05189/2.749, allocations: 20.36 MB / 0.9387 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007808/2.756, allocations: 388.3 kB / 0.9391 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/2.758, allocations: 148.7 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.001325/2.76, allocations: 202.2 kB / 0.9394 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002371/2.762, allocations: 0.677 MB / 0.9401 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02848/2.79, allocations: 15.29 MB / 0.955 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002088/2.791, allocations: 52.66 kB / 0.955 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/2.791, allocations: 0 / 0.955 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001742/2.791, allocations: 14.58 kB / 0.9551 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/2.808, allocations: 7.934 MB / 0.9628 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-05/2.808, allocations: 0 / 0.9628 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/2.811, allocations: 252.8 kB / 0.963 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09318/2.904, allocations: 27.32 MB / 0.9897 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001535/2.906, allocations: 23 kB / 0.9897 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04519/2.951, allocations: 20.52 MB / 1.01 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/2.951, allocations: 4 kB / 1.01 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02518/2.976, allocations: 14.48 MB / 1.024 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02845/3.005, allocations: 14.99 MB / 1.039 GB, free: 91.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004329/3.009, allocations: 1.287 MB / 1.04 GB, free: 90.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004648/3.014, allocations: 0 / 1.04 GB, free: 90.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008175/3.022, allocations: 163.3 kB / 1.04 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/3.024, allocations: 182.6 kB / 1.04 GB, free: 90.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001142/3.025, allocations: 95.08 kB / 1.04 GB, free: 90.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0133/3.038, allocations: 6.142 MB / 1.046 GB, free: 84.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01202/3.05, allocations: 2.247 MB / 1.048 GB, free: 82.93 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.008332/3.059, allocations: 0.661 MB / 1.049 GB, free: 82.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02628/3.085, allocations: 12.37 MB / 1.061 GB, free: 71.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/3.085, allocations: 0 / 1.061 GB, free: 71.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02015/3.105, allocations: 8.009 MB / 1.069 GB, free: 64.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007261/3.113, allocations: 412.6 kB / 1.069 GB, free: 64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03675/3.149, allocations: 12.11 MB / 1.081 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007105/3.157, allocations: 4.181 MB / 1.085 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of SimCode: time 3.336e-06/3.157, allocations: 0 / 1.085 GB, free: 49.96 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE13_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_ThreePhase_IEEE13.fmu > OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)