Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") [: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.001818/0.001818, allocations: 173.8 kB / 7.458 MB, free: 2.488 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.013/1.013, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0008465/0.0008465, allocations: 94.2 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3435/0.3435, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.628e-06/4.649e-06, allocations: 0 / 484.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 69.35 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.093/0.2992, allocations: 98.61 MB / 0.6371 GB, free: 6.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.2994, allocations: 79.95 kB / 0.6371 GB, free: 6.234 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0551/0.3545, allocations: 22.47 MB / 0.6591 GB, free: 15.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.372e-05/0.3546, allocations: 21.31 kB / 0.6591 GB, free: 15.55 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002841/0.3574, allocations: 1.344 MB / 0.6604 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3574, allocations: 8.031 kB / 0.6604 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.3596, allocations: 422 kB / 0.6608 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.3605, allocations: 0.6332 MB / 0.6614 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.3607, allocations: 193.8 kB / 0.6616 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3608, allocations: 40 kB / 0.6617 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009486/0.3618, allocations: 0.5845 MB / 0.6622 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.3628, allocations: 0.6564 MB / 0.6629 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3628, allocations: 0 / 0.6629 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.3629, allocations: 0 / 0.6629 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.3629, allocations: 23.89 kB / 0.6629 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004802/0.3677, allocations: 3.245 MB / 0.6661 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.3687, allocations: 0.4951 MB / 0.6666 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.3693, allocations: 391 kB / 0.6669 GB, free: 7.238 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/0.3694, allocations: 16.62 kB / 0.6669 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3694, allocations: 43.22 kB / 0.667 GB, free: 7.172 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 1.553e-06/0.3694, allocations: 0 / 0.667 GB, free: 7.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.005499/0.3749, allocations: 2.036 MB / 0.669 GB, free: 5.121 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.375, allocations: 85.77 kB / 0.6691 GB, free: 5.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.3756, allocations: 0.6253 MB / 0.6697 GB, free: 4.391 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.3757, allocations: 25.7 kB / 0.6697 GB, free: 4.359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3758, allocations: 276.3 kB / 0.67 GB, free: 4.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3761, allocations: 244.3 kB / 0.6702 GB, free: 3.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.3761, allocations: 0 / 0.6702 GB, free: 3.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.3762, allocations: 330 kB / 0.6705 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.3767, allocations: 337.6 kB / 0.6708 GB, free: 3.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.3773, allocations: 438.5 kB / 0.6712 GB, free: 2.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.3779, allocations: 376.8 kB / 0.6716 GB, free: 2.363 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3779, allocations: 0 / 0.6716 GB, free: 2.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006303/0.3842, allocations: 2.268 MB / 0.6738 GB, free: 80 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.118/0.5022, allocations: 0.7009 MB / 0.6745 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5023, allocations: 3.719 kB / 0.6745 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/0.5063, allocations: 1.075 MB / 0.6756 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.5069, allocations: 114.2 kB / 0.6757 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.5144, allocations: 4.355 MB / 0.6799 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.5154, allocations: 122.2 kB / 0.68 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.5154, allocations: 31.17 kB / 0.6801 GB, free: 142.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.5155, allocations: 3.906 kB / 0.6801 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005795/0.5213, allocations: 2.15 MB / 0.6822 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5213, allocations: 0 / 0.6822 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/0.525, allocations: 1.081 MB / 0.6832 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.5255, allocations: 104.9 kB / 0.6833 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007258/0.5327, allocations: 4.36 MB / 0.6876 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008511/0.5336, allocations: 100.2 kB / 0.6877 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.5337, allocations: 27.88 kB / 0.6877 GB, free: 141.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.5339, allocations: 123.8 kB / 0.6878 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.534, allocations: 93.19 kB / 0.6879 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.539, allocations: 2.107 MB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.5391, allocations: 11.53 kB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5391, allocations: 5.812 kB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5391, allocations: 3.375 kB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006174/0.5453, allocations: 3.307 MB / 0.6932 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5453, allocations: 0 / 0.6932 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.5458, allocations: 89.42 kB / 0.6933 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.5484, allocations: 0.9064 MB / 0.6942 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.5485, allocations: 7.625 kB / 0.6942 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005348/0.5538, allocations: 3.378 MB / 0.6975 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5538, allocations: 1.562 kB / 0.6975 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005825/0.5597, allocations: 2.711 MB / 0.7001 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.5598, allocations: 189.8 kB / 0.7003 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.56, allocations: 1.281 kB / 0.7003 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.5608, allocations: 80.75 kB / 0.7004 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.561, allocations: 69.58 kB / 0.7005 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.561, allocations: 20.88 kB / 0.7005 GB, free: 138.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004799/0.5615, allocations: 495.4 kB / 0.701 GB, free: 138.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001081/0.5626, allocations: 458.7 kB / 0.7014 GB, free: 138.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.5628, allocations: 143.9 kB / 0.7015 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006069/0.5689, allocations: 2.831 MB / 0.7043 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5689, allocations: 0 / 0.7043 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.5714, allocations: 1.156 MB / 0.7054 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.5717, allocations: 51.58 kB / 0.7055 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.5751, allocations: 1.613 MB / 0.707 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.5756, allocations: 1.054 MB / 0.7081 GB, free: 136.1 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5756, allocations: 0 / 0.7081 GB, free: 136.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02505/0.6007, allocations: 22.52 MB / 0.7301 GB, free: 135.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)