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: translateModel(OpenIPSL.Tests.ThreePhase.IEEE13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13") translateModel(OpenIPSL.Tests.ThreePhase.IEEE13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13") [: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.001083/0.001083, allocations: 190.5 kB / 7.46 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.4 MB / 229.3 MB, free: 8.469 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009255, allocations: 94.7 kB / 280.1 MB, free: 7.812 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4414/0.4414, allocations: 78.06 MB / 408.9 MB, free: 5.305 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.973e-06, allocations: 4 kB / 484.3 MB, free: 10.22 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2506, allocations: 69.34 MB / 0.5407 GB, free: 15.68 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3775, allocations: 111.5 MB / 0.6496 GB, free: 15.97 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.3777, allocations: 67.97 kB / 0.6497 GB, free: 15.91 MB / 482.8 MB Notification: Performance of FrontEnd: time 0.5669/0.9446, allocations: 113.5 MB / 0.7606 GB, free: 32.05 MB / 482.8 MB Notification: Performance of Transformations before backend: time 0.000339/0.945, allocations: 108 kB / 0.7607 GB, free: 31.95 MB / 482.8 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.02287/0.9679, allocations: 8.858 MB / 0.7693 GB, free: 23.01 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.9679, allocations: 8.031 kB / 0.7693 GB, free: 23 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/0.9717, allocations: 0.8215 MB / 0.7701 GB, free: 22.17 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.9857, allocations: 5.888 MB / 0.7759 GB, free: 16.21 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.9861, allocations: 296.2 kB / 0.7762 GB, free: 15.88 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/0.9884, allocations: 168 kB / 0.7763 GB, free: 15.72 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02526/1.014, allocations: 13.57 MB / 0.7896 GB, free: 2.141 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/1.032, allocations: 7.341 MB / 0.7967 GB, free: 10.77 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/1.033, allocations: 0 / 0.7967 GB, free: 10.77 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/1.035, allocations: 0 / 0.7967 GB, free: 10.77 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007457/1.035, allocations: 0.5033 MB / 0.7972 GB, free: 10.27 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07559/1.111, allocations: 32.23 MB / 0.8287 GB, free: 8.836 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/1.122, allocations: 5.971 MB / 0.8345 GB, free: 2.863 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007315/1.129, allocations: 4.749 MB / 0.8392 GB, free: 14.11 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/1.131, allocations: 1.987 MB / 0.8411 GB, free: 11.66 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/1.131, allocations: 73.5 kB / 0.8412 GB, free: 11.57 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=391): time 7.153e-06/1.131, allocations: 0 / 0.8412 GB, free: 11.57 MB / 0.5339 GB Notification: Performance of matching and sorting (n=391): time 0.02945/1.16, allocations: 13.74 MB / 0.8546 GB, free: 13.79 MB / 0.5496 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.16, allocations: 90.36 kB / 0.8547 GB, free: 13.69 MB / 0.5496 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/1.177, allocations: 7.998 MB / 0.8625 GB, free: 5.734 MB / 0.5496 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.178, allocations: 25.7 kB / 0.8625 GB, free: 5.703 MB / 0.5496 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.18, allocations: 1.71 MB / 0.8642 GB, free: 3.973 MB / 0.5496 GB Notification: Performance of collectInitialBindings (initialization): time 0.003445/1.184, allocations: 1.27 MB / 0.8654 GB, free: 2.684 MB / 0.5496 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/1.184, allocations: 0 / 0.8654 GB, free: 2.684 MB / 0.5496 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.184, allocations: 454 kB / 0.8659 GB, free: 2.234 MB / 0.5496 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005874/1.19, allocations: 3.908 MB / 0.8697 GB, free: 14.32 MB / 0.5652 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006602/1.197, allocations: 4.561 MB / 0.8741 GB, free: 9.512 MB / 0.5652 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007575/1.204, allocations: 4.247 MB / 0.8783 GB, free: 5.258 MB / 0.5652 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/1.205, allocations: 4 kB / 0.8783 GB, free: 5.254 MB / 0.5652 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.1869/1.391, allocations: 13.75 MB / 0.8917 GB, free: 162.9 MB / 0.5652 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.392, allocations: 7.281 kB / 0.8917 GB, free: 162.9 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/1.392, allocations: 17.06 kB / 0.8917 GB, free: 162.9 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09392/1.485, allocations: 27.22 MB / 0.9183 GB, free: 162.4 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.488, allocations: 433.4 kB / 0.9187 GB, free: 162.4 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03981/1.528, allocations: 20.36 MB / 0.9386 GB, free: 161.7 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.535, allocations: 390.3 kB / 0.939 GB, free: 161.7 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.537, allocations: 145.5 kB / 0.9391 GB, free: 161.7 MB / 0.5652 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.001369/1.538, allocations: 198.5 kB / 0.9393 GB, free: 161.6 MB / 0.5652 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.54, allocations: 0.6785 MB / 0.94 GB, free: 161.2 MB / 0.5652 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02738/1.568, allocations: 15.28 MB / 0.9549 GB, free: 159.7 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.236e-05/1.568, allocations: 55.2 kB / 0.9549 GB, free: 159.7 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.568, allocations: 2.438 kB / 0.9549 GB, free: 159.7 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-05/1.568, allocations: 19.14 kB / 0.955 GB, free: 159.7 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.58, allocations: 7.934 MB / 0.9627 GB, free: 156.9 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/1.58, allocations: 0 / 0.9627 GB, free: 156.9 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.582, allocations: 252.9 kB / 0.963 GB, free: 156.9 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09859/1.681, allocations: 27.31 MB / 0.9896 GB, free: 141.9 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001369/1.682, allocations: 23.7 kB / 0.9896 GB, free: 141.9 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04088/1.723, allocations: 20.53 MB / 1.01 GB, free: 123.9 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.723, allocations: 0 / 1.01 GB, free: 123.9 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02617/1.75, allocations: 14.49 MB / 1.024 GB, free: 111.5 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/1.753, allocations: 1.286 MB / 1.025 GB, free: 110.4 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003045/1.756, allocations: 2.875 kB / 1.025 GB, free: 110.4 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006694/1.762, allocations: 159.8 kB / 1.025 GB, free: 110.3 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/1.764, allocations: 178.8 kB / 1.025 GB, free: 110.2 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006555/1.764, allocations: 101.9 kB / 1.026 GB, free: 110.1 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.009666/1.774, allocations: 6.15 MB / 1.032 GB, free: 104.6 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.009209/1.783, allocations: 2.22 MB / 1.034 GB, free: 102.6 MB / 0.5652 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.005527/1.789, allocations: 0.6581 MB / 1.034 GB, free: 102.1 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.02607/1.815, allocations: 12.37 MB / 1.046 GB, free: 91.06 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.815, allocations: 0.875 kB / 1.046 GB, free: 91.06 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.01998/1.835, allocations: 8.011 MB / 1.054 GB, free: 84.06 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/1.84, allocations: 420.5 kB / 1.055 GB, free: 83.65 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03132/1.872, allocations: 12.1 MB / 1.066 GB, free: 72.7 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005571/1.877, allocations: 4.18 MB / 1.071 GB, free: 69.64 MB / 0.5652 GB Notification: Performance of SimCode: time 1.924e-06/1.877, allocations: 0 / 1.071 GB, free: 69.64 MB / 0.5652 GB Notification: Performance of Templates: time 0.3425/2.22, allocations: 119.4 MB / 1.187 GB, free: 153.8 MB / 0.5652 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)