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: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",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.001937/0.001937, allocations: 182.8 kB / 7.461 MB, free: 2.504 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.059/1.059, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008203/0.0008203, allocations: 96.27 kB / 280.1 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3619/0.3619, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.114/0.4759, allocations: 75.51 MB / 484.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.6966, allocations: 69.33 MB / 0.5409 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09832/0.7949, allocations: 98.61 MB / 0.6371 GB, free: 6.289 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.7952, allocations: 79.95 kB / 0.6372 GB, free: 6.211 MB / 458.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.06142/0.8566, allocations: 23.84 MB / 0.6605 GB, free: 14.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.8566, allocations: 15.94 kB / 0.6605 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.859, allocations: 410.2 kB / 0.6609 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.8601, allocations: 0.6448 MB / 0.6615 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.8604, allocations: 193.8 kB / 0.6617 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.8605, allocations: 39.98 kB / 0.6618 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/0.8616, allocations: 0.5806 MB / 0.6623 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.8628, allocations: 0.6563 MB / 0.663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.8628, allocations: 0 / 0.663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.8629, allocations: 0 / 0.663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.8629, allocations: 19.91 kB / 0.663 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/0.8683, allocations: 3.252 MB / 0.6662 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.8693, allocations: 0.4952 MB / 0.6667 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.8699, allocations: 390.8 kB / 0.667 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.06e-05/0.87, allocations: 12.64 kB / 0.667 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.87, allocations: 43.22 kB / 0.6671 GB, free: 7.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 1.913e-06/0.87, allocations: 0 / 0.6671 GB, free: 7.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.005776/0.8758, allocations: 2.039 MB / 0.6691 GB, free: 5.094 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.8759, allocations: 85.77 kB / 0.6692 GB, free: 4.992 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.8767, allocations: 0.6253 MB / 0.6698 GB, free: 4.363 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.8768, allocations: 25.7 kB / 0.6698 GB, free: 4.332 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.8769, allocations: 272.3 kB / 0.67 GB, free: 4.059 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.8772, allocations: 244.4 kB / 0.6703 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.8772, allocations: 3.938 kB / 0.6703 GB, free: 3.812 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.8773, allocations: 337.9 kB / 0.6706 GB, free: 3.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.8779, allocations: 337.6 kB / 0.6709 GB, free: 3.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.8785, allocations: 434.6 kB / 0.6713 GB, free: 2.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.8791, allocations: 380.8 kB / 0.6717 GB, free: 2.328 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8792, allocations: 0 / 0.6717 GB, free: 2.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006694/0.8859, allocations: 2.268 MB / 0.6739 GB, free: 44 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1297/1.016, allocations: 0.6977 MB / 0.6746 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.016, allocations: 7.719 kB / 0.6746 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/1.02, allocations: 1.074 MB / 0.6757 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/1.02, allocations: 113.3 kB / 0.6758 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007733/1.028, allocations: 4.353 MB / 0.68 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.029, allocations: 120.5 kB / 0.6801 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.029, allocations: 26.05 kB / 0.6802 GB, free: 142.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/1.029, allocations: 3.875 kB / 0.6802 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005886/1.035, allocations: 2.152 MB / 0.6823 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.035, allocations: 3.75 kB / 0.6823 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/1.039, allocations: 1.076 MB / 0.6833 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/1.039, allocations: 102.4 kB / 0.6834 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007519/1.047, allocations: 4.363 MB / 0.6877 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/1.048, allocations: 108.6 kB / 0.6878 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/1.048, allocations: 25.98 kB / 0.6878 GB, free: 141.2 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.0002337/1.048, allocations: 121.6 kB / 0.6879 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.048, allocations: 91.28 kB / 0.688 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005165/1.054, allocations: 2.109 MB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.054, allocations: 6.812 kB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.054, allocations: 7.125 kB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.054, allocations: 3.094 kB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/1.06, allocations: 3.31 MB / 0.6933 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.06, allocations: 0 / 0.6933 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/1.061, allocations: 88.5 kB / 0.6934 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/1.063, allocations: 0.9029 MB / 0.6943 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/1.064, allocations: 11.12 kB / 0.6943 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005645/1.069, allocations: 3.383 MB / 0.6976 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.069, allocations: 1.062 kB / 0.6976 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006178/1.075, allocations: 2.704 MB / 0.7002 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006985/1.082, allocations: 3.616 MB / 0.7038 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/1.083, allocations: 183.7 kB / 0.7039 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.083, allocations: 9.719 kB / 0.704 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/1.084, allocations: 83.17 kB / 0.704 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.084, allocations: 65.17 kB / 0.7041 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/1.084, allocations: 19.88 kB / 0.7041 GB, free: 137.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006345/1.085, allocations: 489.5 kB / 0.7046 GB, free: 137.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002488/1.087, allocations: 476.3 kB / 0.705 GB, free: 137.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.0002412/1.087, allocations: 146.1 kB / 0.7052 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006405/1.094, allocations: 2.835 MB / 0.7079 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.094, allocations: 0 / 0.7079 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/1.096, allocations: 1.15 MB / 0.7091 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/1.097, allocations: 52.23 kB / 0.7091 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/1.1, allocations: 1.618 MB / 0.7107 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/1.101, allocations: 1.076 MB / 0.7117 GB, free: 134.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/1.101, allocations: 0 / 0.7117 GB, free: 134.4 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)