Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") [: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.001678/0.001678, allocations: 176 kB / 7.46 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.025/1.025, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008631/0.0008631, allocations: 109.5 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.35/0.35, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.648e-06/4.668e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 69.34 MB / 0.5408 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09336/0.3011, allocations: 98.14 MB / 0.6366 GB, free: 6.727 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3013, allocations: 79.95 kB / 0.6367 GB, free: 6.648 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05292/0.3543, allocations: 21.62 MB / 0.6578 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.984e-05/0.3543, allocations: 12 kB / 0.6578 GB, free: 0.8242 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002625/0.3569, allocations: 1.289 MB / 0.6591 GB, free: 15.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.357, allocations: 12.03 kB / 0.6591 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.3591, allocations: 406.3 kB / 0.6595 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.36, allocations: 0.6134 MB / 0.6601 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3601, allocations: 134.3 kB / 0.6602 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.3602, allocations: 32 kB / 0.6602 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008908/0.3611, allocations: 0.5533 MB / 0.6608 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.3621, allocations: 0.6133 MB / 0.6613 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3621, allocations: 4 kB / 0.6614 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.3622, allocations: 3.906 kB / 0.6614 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3622, allocations: 12 kB / 0.6614 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.3667, allocations: 2.977 MB / 0.6643 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.368, allocations: 0.6749 MB / 0.6649 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.3685, allocations: 370.8 kB / 0.6653 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.3686, allocations: 16.64 kB / 0.6653 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3686, allocations: 35.22 kB / 0.6653 GB, free: 8.812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.676e-06/0.3686, allocations: 4 kB / 0.6653 GB, free: 8.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005348/0.374, allocations: 1.981 MB / 0.6673 GB, free: 6.812 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.374, allocations: 89.77 kB / 0.6674 GB, free: 6.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.3747, allocations: 0.6213 MB / 0.668 GB, free: 6.082 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.3748, allocations: 25.7 kB / 0.668 GB, free: 6.051 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3749, allocations: 256.6 kB / 0.6682 GB, free: 5.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.3751, allocations: 224.6 kB / 0.6685 GB, free: 5.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3752, allocations: 8 kB / 0.6685 GB, free: 5.562 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.3753, allocations: 333.8 kB / 0.6688 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.3758, allocations: 329.5 kB / 0.6691 GB, free: 4.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.3763, allocations: 417.7 kB / 0.6695 GB, free: 4.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.3769, allocations: 360.5 kB / 0.6698 GB, free: 4.125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3769, allocations: 0 / 0.6698 GB, free: 4.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006217/0.3831, allocations: 2.219 MB / 0.672 GB, free: 1.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.3833, allocations: 0.6148 MB / 0.6726 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3833, allocations: 4 kB / 0.6726 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/0.3873, allocations: 1.039 MB / 0.6736 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.3878, allocations: 107.9 kB / 0.6737 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1249/0.5127, allocations: 4.121 MB / 0.6777 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/0.5137, allocations: 118.2 kB / 0.6779 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.5138, allocations: 23.38 kB / 0.6779 GB, free: 144 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/0.5138, allocations: 3.094 kB / 0.6779 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005635/0.5195, allocations: 2.097 MB / 0.6799 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5195, allocations: 3.25 kB / 0.6799 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003677/0.5232, allocations: 1.035 MB / 0.6809 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.5236, allocations: 98.33 kB / 0.681 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.5304, allocations: 4.127 MB / 0.6851 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.5312, allocations: 113.4 kB / 0.6852 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.5312, allocations: 21 kB / 0.6852 GB, free: 142.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.5314, allocations: 115 kB / 0.6853 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5315, allocations: 90.05 kB / 0.6854 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/0.5364, allocations: 2.058 MB / 0.6874 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5364, allocations: 10.73 kB / 0.6874 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5364, allocations: 3.938 kB / 0.6874 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5364, allocations: 4.391 kB / 0.6874 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/0.5425, allocations: 3.212 MB / 0.6906 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5425, allocations: 0 / 0.6906 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.543, allocations: 84.06 kB / 0.6906 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.5455, allocations: 0.8692 MB / 0.6915 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.5456, allocations: 7.031 kB / 0.6915 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004659/0.5502, allocations: 3.117 MB / 0.6945 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.5502, allocations: 7.812 kB / 0.6945 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00573/0.556, allocations: 2.623 MB / 0.6971 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.5561, allocations: 187.5 kB / 0.6973 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.5563, allocations: 2.656 kB / 0.6973 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.5571, allocations: 80.81 kB / 0.6974 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5572, allocations: 62.64 kB / 0.6974 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.5573, allocations: 16.34 kB / 0.6974 GB, free: 140 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00048/0.5578, allocations: 486.4 kB / 0.6979 GB, free: 139.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001076/0.5589, allocations: 446.7 kB / 0.6983 GB, free: 139.9 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.5591, allocations: 149.3 kB / 0.6985 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005716/0.5648, allocations: 2.703 MB / 0.7011 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5648, allocations: 0 / 0.7011 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.5672, allocations: 1.092 MB / 0.7022 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.5676, allocations: 51.11 kB / 0.7022 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.5707, allocations: 1.528 MB / 0.7037 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.5712, allocations: 1.04 MB / 0.7047 GB, free: 137.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5712, allocations: 1.375 kB / 0.7047 GB, free: 137.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02415/0.5954, allocations: 21.68 MB / 0.7259 GB, free: 136.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)