Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003087/0.003087, allocations: 182.9 kB / 7.461 MB, free: 2.5 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.321/1.321, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009232/0.0009229, allocations: 99.33 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07621/0.07621, allocations: 12.2 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3022/0.3022, allocations: 78.05 MB / 449.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2999/0.6022, allocations: 76.08 MB / 0.5137 GB, free: 30.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.7428, allocations: 69.24 MB / 0.5813 GB, free: 9.223 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/1.186, allocations: 113 MB / 0.6916 GB, free: 12.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.186, allocations: 68.69 kB / 0.6917 GB, free: 12.49 MB / 442.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.3743/1.56, allocations: 120.1 MB / 0.809 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.739e-05/1.56, allocations: 11.94 kB / 0.809 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007298/1.568, allocations: 0.8254 MB / 0.8098 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/1.587, allocations: 5.884 MB / 0.8155 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005745/1.588, allocations: 300.2 kB / 0.8158 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/1.591, allocations: 168 kB / 0.816 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03119/1.622, allocations: 13.57 MB / 0.8292 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/1.644, allocations: 7.342 MB / 0.8364 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/1.644, allocations: 0 / 0.8364 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002653/1.647, allocations: 3.906 kB / 0.8364 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007394/1.648, allocations: 0.4955 MB / 0.8369 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.43/2.078, allocations: 32.22 MB / 0.8684 GB, free: 74.23 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00904/2.087, allocations: 5.979 MB / 0.8742 GB, free: 74.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006788/2.094, allocations: 4.744 MB / 0.8788 GB, free: 74.17 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/2.095, allocations: 1.991 MB / 0.8808 GB, free: 71.82 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/2.095, allocations: 71.2 kB / 0.8808 GB, free: 71.77 MB / 0.573 GB Notification: Performance of pre-optimization done (n=391): time 7.454e-06/2.095, allocations: 5.812 kB / 0.8808 GB, free: 71.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=391): time 0.02715/2.123, allocations: 13.74 MB / 0.8943 GB, free: 71.48 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/2.123, allocations: 87.98 kB / 0.8943 GB, free: 71.42 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/2.136, allocations: 7.99 MB / 0.9021 GB, free: 71.06 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001468/2.138, allocations: 25.7 kB / 0.9022 GB, free: 71.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/2.139, allocations: 1.718 MB / 0.9038 GB, free: 70.49 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003222/2.143, allocations: 1.275 MB / 0.9051 GB, free: 69.78 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/2.143, allocations: 0 / 0.9051 GB, free: 69.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001752/2.143, allocations: 453.8 kB / 0.9055 GB, free: 69.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004473/2.148, allocations: 3.902 MB / 0.9093 GB, free: 68.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/2.152, allocations: 4.558 MB / 0.9138 GB, free: 66.01 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00541/2.158, allocations: 4.248 MB / 0.9179 GB, free: 64.58 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/2.158, allocations: 7.562 kB / 0.9179 GB, free: 64.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.02247/2.18, allocations: 13.75 MB / 0.9314 GB, free: 59.92 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/2.18, allocations: 7.562 kB / 0.9314 GB, free: 59.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.896e-05/2.18, allocations: 15.38 kB / 0.9314 GB, free: 59.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09315/2.274, allocations: 27.22 MB / 0.958 GB, free: 57.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/2.277, allocations: 432.1 kB / 0.9584 GB, free: 57.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04739/2.324, allocations: 20.37 MB / 0.9783 GB, free: 47.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006848/2.331, allocations: 386.4 kB / 0.9786 GB, free: 47.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/2.332, allocations: 147.5 kB / 0.9788 GB, free: 47.24 MB / 0.573 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.001204/2.334, allocations: 199.2 kB / 0.979 GB, free: 47.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002525/2.336, allocations: 0.6824 MB / 0.9796 GB, free: 46.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/2.362, allocations: 15.28 MB / 0.9946 GB, free: 33.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/2.362, allocations: 48 kB / 0.9946 GB, free: 33.61 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/2.362, allocations: 3.562 kB / 0.9946 GB, free: 33.61 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/2.362, allocations: 25.11 kB / 0.9946 GB, free: 33.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/2.378, allocations: 7.924 MB / 1.002 GB, free: 27.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/2.378, allocations: 0 / 1.002 GB, free: 27.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/2.38, allocations: 252.5 kB / 1.003 GB, free: 27.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08861/2.469, allocations: 27.31 MB / 1.029 GB, free: 7.266 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001708/2.471, allocations: 15.7 kB / 1.029 GB, free: 7.254 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03965/2.51, allocations: 20.53 MB / 1.049 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/2.51, allocations: 0 / 1.049 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04361/2.554, allocations: 15.49 MB / 1.064 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03364/2.588, allocations: 15.33 MB / 1.079 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/2.591, allocations: 1.274 MB / 1.081 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003498/2.595, allocations: 7.047 kB / 1.081 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006411/2.601, allocations: 155.9 kB / 1.081 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001675/2.603, allocations: 186.9 kB / 1.081 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005361/2.604, allocations: 96.69 kB / 1.081 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.01197/2.616, allocations: 6.151 MB / 1.087 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01203/2.628, allocations: 2.25 MB / 1.089 GB, free: 5.504 MB / 0.6198 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.006734/2.634, allocations: 0.65 MB / 1.09 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.2721/2.907, allocations: 12.38 MB / 1.102 GB, free: 227.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.907, allocations: 0 / 1.102 GB, free: 227.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01876/2.925, allocations: 8.003 MB / 1.11 GB, free: 227.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/2.931, allocations: 416.6 kB / 1.11 GB, free: 227.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/2.96, allocations: 12.1 MB / 1.122 GB, free: 225.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005138/2.965, allocations: 4.182 MB / 1.126 GB, free: 224.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.643e-06/2.965, allocations: 2.625 kB / 1.126 GB, free: 224.4 MB / 0.6198 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE13_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE13.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)