Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_ThreePhase_IEEE13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_dev_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.004573/0.004573, allocations: 180.3 kB / 7.454 MB, free: 2.516 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.405/1.405, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.00101/0.00101, allocations: 101.6 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.548/0.548, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1908/0.7389, allocations: 75.65 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/1.177, allocations: 69.5 MB / 0.5419 GB, free: 20.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/1.337, allocations: 112 MB / 0.6514 GB, free: 7.738 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.338, allocations: 67.97 kB / 0.6514 GB, free: 7.672 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.6965/2.034, allocations: 122.5 MB / 0.771 GB, free: 37.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/2.034, allocations: 11.98 kB / 0.7711 GB, free: 37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005477/2.04, allocations: 0.8254 MB / 0.7719 GB, free: 36.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/2.055, allocations: 5.888 MB / 0.7776 GB, free: 30.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/2.055, allocations: 304.1 kB / 0.7779 GB, free: 29.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/2.058, allocations: 168 kB / 0.7781 GB, free: 29.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02502/2.083, allocations: 13.57 MB / 0.7913 GB, free: 16.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/2.102, allocations: 7.334 MB / 0.7985 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.404e-05/2.102, allocations: 0 / 0.7985 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001771/2.104, allocations: 0 / 0.7985 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004064/2.105, allocations: 0.4995 MB / 0.799 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07986/2.184, allocations: 32.23 MB / 0.8304 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/2.195, allocations: 5.975 MB / 0.8363 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007509/2.203, allocations: 4.741 MB / 0.8409 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/2.204, allocations: 1.991 MB / 0.8428 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.445e-05/2.205, allocations: 73.52 kB / 0.8429 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=391): time 8.727e-06/2.205, allocations: 0 / 0.8429 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=391): time 0.0316/2.236, allocations: 13.74 MB / 0.8563 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/2.236, allocations: 94.36 kB / 0.8564 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02097/2.257, allocations: 7.994 MB / 0.8642 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001811/2.259, allocations: 25.7 kB / 0.8643 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002351/2.261, allocations: 1.706 MB / 0.8659 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004382/2.266, allocations: 1.278 MB / 0.8672 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005979/2.266, allocations: 0 / 0.8672 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004086/2.267, allocations: 450.1 kB / 0.8676 GB, free: 220 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006942/2.274, allocations: 3.908 MB / 0.8714 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008024/2.282, allocations: 4.557 MB / 0.8759 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/2.291, allocations: 4.255 MB / 0.88 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.214e-05/2.291, allocations: 8 kB / 0.88 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.3318/2.622, allocations: 13.75 MB / 0.8934 GB, free: 159 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/2.622, allocations: 11.16 kB / 0.8935 GB, free: 159 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.476e-05/2.623, allocations: 17.81 kB / 0.8935 GB, free: 159 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09237/2.715, allocations: 27.22 MB / 0.9201 GB, free: 158.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/2.718, allocations: 432.4 kB / 0.9205 GB, free: 158.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04837/2.766, allocations: 20.36 MB / 0.9403 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007951/2.774, allocations: 394.2 kB / 0.9407 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/2.777, allocations: 138.6 kB / 0.9409 GB, free: 157.3 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.001853/2.778, allocations: 205 kB / 0.941 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003034/2.781, allocations: 0.6761 MB / 0.9417 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03002/2.811, allocations: 15.28 MB / 0.9566 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/2.812, allocations: 49.31 kB / 0.9567 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/2.812, allocations: 2.875 kB / 0.9567 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.018e-05/2.812, allocations: 17.58 kB / 0.9567 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/2.828, allocations: 7.937 MB / 0.9645 GB, free: 151.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/2.828, allocations: 0 / 0.9645 GB, free: 151.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/2.83, allocations: 254 kB / 0.9647 GB, free: 151.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0915/2.922, allocations: 27.31 MB / 0.9914 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002048/2.924, allocations: 19.5 kB / 0.9914 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04409/2.968, allocations: 20.52 MB / 1.011 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/2.968, allocations: 8 kB / 1.011 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02654/2.995, allocations: 14.48 MB / 1.026 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02814/3.023, allocations: 15 MB / 1.04 GB, free: 88.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004054/3.027, allocations: 1.278 MB / 1.041 GB, free: 87.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004266/3.031, allocations: 0 / 1.041 GB, free: 87.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006284/3.038, allocations: 165 kB / 1.042 GB, free: 87.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/3.039, allocations: 181.6 kB / 1.042 GB, free: 87.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006914/3.04, allocations: 95.27 kB / 1.042 GB, free: 87.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0116/3.052, allocations: 6.144 MB / 1.048 GB, free: 81.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01312/3.065, allocations: 2.254 MB / 1.05 GB, free: 79.69 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.009163/3.074, allocations: 0.6522 MB / 1.051 GB, free: 79.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02475/3.099, allocations: 12.38 MB / 1.063 GB, free: 68.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/3.099, allocations: 1.75 kB / 1.063 GB, free: 68.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01745/3.116, allocations: 8.006 MB / 1.071 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/3.122, allocations: 423.1 kB / 1.071 GB, free: 60.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/3.158, allocations: 12.1 MB / 1.083 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008732/3.166, allocations: 4.179 MB / 1.087 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of SimCode: time 2.044e-06/3.167, allocations: 0 / 1.087 GB, free: 46.75 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE13.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE13_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE13.fmu > OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)