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: translateModel(OpenIPSL.Tests.ThreePhase.IEEE13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13") translateModel(OpenIPSL.Tests.ThreePhase.IEEE13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00205/0.00205, allocations: 186.1 kB / 7.46 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.09/1.09, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.0008137/0.0008137, allocations: 94.12 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3691/0.3691, allocations: 78.11 MB / 409 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 4 kB / 484.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 69.34 MB / 0.5407 GB, free: 21.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3388, allocations: 111.5 MB / 0.6496 GB, free: 9.375 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.339, allocations: 67.95 kB / 0.6497 GB, free: 9.309 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.4542/0.7933, allocations: 113.5 MB / 0.7606 GB, free: 48.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004292/0.7937, allocations: 112 kB / 0.7607 GB, free: 48.3 MB / 490.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.02025/0.814, allocations: 8.862 MB / 0.7693 GB, free: 39.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.8141, allocations: 8.031 kB / 0.7693 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.8173, allocations: 0.8215 MB / 0.7701 GB, free: 38.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.8282, allocations: 5.888 MB / 0.7759 GB, free: 32.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.8284, allocations: 312 kB / 0.7762 GB, free: 32.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007065/0.8291, allocations: 168 kB / 0.7764 GB, free: 32.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01735/0.8465, allocations: 13.58 MB / 0.7896 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008582/0.8551, allocations: 7.338 MB / 0.7968 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.8552, allocations: 0 / 0.7968 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/0.8557, allocations: 0 / 0.7968 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.856, allocations: 0.4917 MB / 0.7973 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05172/0.9077, allocations: 32.23 MB / 0.8287 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007656/0.9154, allocations: 5.971 MB / 0.8346 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0054/0.9208, allocations: 4.745 MB / 0.8392 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.922, allocations: 1.987 MB / 0.8411 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.922, allocations: 73.52 kB / 0.8412 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=391): time 5.149e-06/0.922, allocations: 0 / 0.8412 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=391): time 0.02182/0.9439, allocations: 13.74 MB / 0.8546 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.9439, allocations: 90.36 kB / 0.8547 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/0.9559, allocations: 7.986 MB / 0.8625 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/0.9571, allocations: 25.7 kB / 0.8625 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.9582, allocations: 1.714 MB / 0.8642 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002641/0.9609, allocations: 1.274 MB / 0.8654 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.9613, allocations: 0 / 0.8654 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.9615, allocations: 454.1 kB / 0.8659 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/0.9663, allocations: 3.904 MB / 0.8697 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/0.9715, allocations: 4.561 MB / 0.8741 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005756/0.9773, allocations: 4.247 MB / 0.8783 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.9773, allocations: 4 kB / 0.8783 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.169/1.146, allocations: 13.76 MB / 0.8917 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.146, allocations: 9.547 kB / 0.8917 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/1.146, allocations: 19.44 kB / 0.8918 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07993/1.226, allocations: 27.21 MB / 0.9183 GB, free: 163 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.229, allocations: 430.9 kB / 0.9187 GB, free: 163 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03373/1.263, allocations: 20.36 MB / 0.9386 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.268, allocations: 388.6 kB / 0.939 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005147/1.268, allocations: 144.9 kB / 0.9391 GB, free: 162.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.0008637/1.269, allocations: 197.2 kB / 0.9393 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.27, allocations: 0.6766 MB / 0.94 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/1.292, allocations: 15.29 MB / 0.9549 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.214e-05/1.293, allocations: 57 kB / 0.955 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.293, allocations: 0 / 0.955 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.679e-05/1.293, allocations: 16.55 kB / 0.955 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009599/1.302, allocations: 7.933 MB / 0.9627 GB, free: 156.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.302, allocations: 1.469 kB / 0.9627 GB, free: 156.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.304, allocations: 253.2 kB / 0.963 GB, free: 156.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08028/1.385, allocations: 27.32 MB / 0.9896 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001381/1.386, allocations: 19.27 kB / 0.9897 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03493/1.421, allocations: 20.53 MB / 1.01 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.421, allocations: 0 / 1.01 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02198/1.443, allocations: 14.49 MB / 1.024 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/1.446, allocations: 1.281 MB / 1.025 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/1.448, allocations: 4 kB / 1.025 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/1.452, allocations: 153.8 kB / 1.025 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006548/1.452, allocations: 180.7 kB / 1.025 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004287/1.453, allocations: 95.33 kB / 1.026 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.007508/1.46, allocations: 6.15 MB / 1.032 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006336/1.467, allocations: 2.227 MB / 1.034 GB, free: 98.11 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.003207/1.47, allocations: 0.6592 MB / 1.034 GB, free: 97.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02036/1.49, allocations: 12.38 MB / 1.046 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.49, allocations: 384 / 1.046 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0164/1.507, allocations: 8.009 MB / 1.054 GB, free: 79.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.51, allocations: 416 kB / 1.055 GB, free: 79.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/1.534, allocations: 12.1 MB / 1.066 GB, free: 68.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/1.538, allocations: 4.18 MB / 1.071 GB, free: 65.14 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/1.538, allocations: 0 / 1.071 GB, free: 65.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.295/1.833, allocations: 119.4 MB / 1.187 GB, free: 154.2 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.makefile (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 & ./OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)