Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") [: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.001867/0.001867, allocations: 177.5 kB / 7.455 MB, free: 2.512 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.036/1.036, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0008349/0.0008349, allocations: 92.92 kB / 280.1 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3599/0.3599, allocations: 78.1 MB / 409 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.669e-06/4.708e-06, allocations: 0 / 484.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2354, allocations: 69.34 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09924/0.3347, allocations: 100.3 MB / 0.6387 GB, free: 4.641 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3349, allocations: 79.95 kB / 0.6388 GB, free: 4.562 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07375/0.4087, allocations: 29.15 MB / 0.6673 GB, free: 7.223 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.825e-05/0.4088, allocations: 20 kB / 0.6673 GB, free: 7.203 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003697/0.4125, allocations: 1.508 MB / 0.6688 GB, free: 5.645 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4125, allocations: 8.031 kB / 0.6688 GB, free: 5.637 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/0.415, allocations: 437.9 kB / 0.6692 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.4165, allocations: 0.8643 MB / 0.6701 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.4168, allocations: 227.5 kB / 0.6703 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.417, allocations: 51.78 kB / 0.6703 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/0.4183, allocations: 0.7563 MB / 0.6711 GB, free: 3.223 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.4196, allocations: 0.7587 MB / 0.6718 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4196, allocations: 4 kB / 0.6718 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.4197, allocations: 0 / 0.6718 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.4198, allocations: 12 kB / 0.6718 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1352/0.5549, allocations: 3.679 MB / 0.6754 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.5564, allocations: 0.9235 MB / 0.6763 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.557, allocations: 460.7 kB / 0.6767 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-05/0.5571, allocations: 15.19 kB / 0.6768 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.5571, allocations: 47.03 kB / 0.6768 GB, free: 142.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.335e-06/0.5571, allocations: 0 / 0.6768 GB, free: 142.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005314/0.5624, allocations: 2.18 MB / 0.6789 GB, free: 142.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.5625, allocations: 113.4 kB / 0.679 GB, free: 142 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.5633, allocations: 0.864 MB / 0.6799 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.5634, allocations: 29.61 kB / 0.6799 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5635, allocations: 296.4 kB / 0.6802 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.5637, allocations: 271 kB / 0.6805 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.5638, allocations: 0 / 0.6805 GB, free: 141.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.5638, allocations: 334.4 kB / 0.6808 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.5644, allocations: 424.8 kB / 0.6812 GB, free: 141.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.565, allocations: 0.5099 MB / 0.6817 GB, free: 141.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.5656, allocations: 456.4 kB / 0.6821 GB, free: 141.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5656, allocations: 3.312 kB / 0.6821 GB, free: 141.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006117/0.5717, allocations: 2.422 MB / 0.6845 GB, free: 141.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.5718, allocations: 0.621 MB / 0.6851 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5718, allocations: 9.172 kB / 0.6851 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/0.5756, allocations: 1.03 MB / 0.6861 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.5764, allocations: 166 kB / 0.6863 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.5835, allocations: 4.12 MB / 0.6903 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5847, allocations: 168.7 kB / 0.6904 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.5848, allocations: 28.94 kB / 0.6905 GB, free: 139.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-06/0.5848, allocations: 2.906 kB / 0.6905 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005954/0.5908, allocations: 2.274 MB / 0.6927 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.5908, allocations: 3.844 kB / 0.6927 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/0.5945, allocations: 1.039 MB / 0.6937 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.5953, allocations: 141.4 kB / 0.6938 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.6021, allocations: 4.134 MB / 0.6979 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6033, allocations: 140.9 kB / 0.698 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.6034, allocations: 26.16 kB / 0.698 GB, free: 137.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 (79): * Single equations (assignments): 76 * 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.0002031/0.6036, allocations: 121.5 kB / 0.6982 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.6038, allocations: 110.8 kB / 0.6983 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/0.6093, allocations: 2.264 MB / 0.7005 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.6093, allocations: 11.41 kB / 0.7005 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6093, allocations: 4.094 kB / 0.7005 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.6094, allocations: 10.92 kB / 0.7005 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/0.6164, allocations: 3.706 MB / 0.7041 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6164, allocations: 0 / 0.7041 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.6172, allocations: 113.4 kB / 0.7042 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/0.6199, allocations: 0.8655 MB / 0.7051 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.6199, allocations: 19.39 kB / 0.7051 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.625, allocations: 3.114 MB / 0.7081 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.625, allocations: 3.938 kB / 0.7081 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006107/0.6311, allocations: 2.94 MB / 0.711 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.6313, allocations: 218.1 kB / 0.7112 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.6315, allocations: 9.297 kB / 0.7112 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.6327, allocations: 120.9 kB / 0.7113 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.6329, allocations: 70.66 kB / 0.7114 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.6329, allocations: 20.23 kB / 0.7114 GB, free: 133.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006688/0.6336, allocations: 0.6613 MB / 0.7121 GB, free: 133.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001148/0.6348, allocations: 0.4949 MB / 0.7126 GB, free: 133 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.00022/0.635, allocations: 140.3 kB / 0.7127 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00588/0.6409, allocations: 3.003 MB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6409, allocations: 3.031 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.6432, allocations: 1.199 MB / 0.7168 GB, free: 130.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.6437, allocations: 85.22 kB / 0.7169 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.6475, allocations: 1.956 MB / 0.7188 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/0.6482, allocations: 1.17 MB / 0.7199 GB, free: 129.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6482, allocations: 0 / 0.7199 GB, free: 129.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03023/0.6784, allocations: 25.82 MB / 0.7452 GB, free: 122.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)