Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [: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.001821/0.001821, allocations: 177.2 kB / 7.453 MB, free: 2.52 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.061/1.061, 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.0008212/0.0008212, allocations: 105.4 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3631/0.3631, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.24e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2369, allocations: 69.34 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09539/0.3323, allocations: 97.72 MB / 0.6362 GB, free: 7.137 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.3325, allocations: 79.95 kB / 0.6363 GB, free: 7.059 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06244/0.395, allocations: 25.19 MB / 0.6609 GB, free: 13.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.702e-05/0.3951, allocations: 20 kB / 0.6609 GB, free: 13.65 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004509/0.3996, allocations: 1.836 MB / 0.6627 GB, free: 11.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3996, allocations: 8.031 kB / 0.6627 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.4029, allocations: 0.5836 MB / 0.6632 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.4042, allocations: 0.7325 MB / 0.664 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.4045, allocations: 244.1 kB / 0.6642 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.4047, allocations: 48 kB / 0.6642 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/0.4062, allocations: 0.8202 MB / 0.665 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4075, allocations: 0.7609 MB / 0.6658 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4076, allocations: 4 kB / 0.6658 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/0.4077, allocations: 7.922 kB / 0.6658 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.4077, allocations: 20 kB / 0.6658 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00594/0.4136, allocations: 3.464 MB / 0.6692 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.4146, allocations: 0.6728 MB / 0.6699 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008034/0.4154, allocations: 0.5578 MB / 0.6704 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.4156, allocations: 16.7 kB / 0.6704 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.4156, allocations: 43.34 kB / 0.6705 GB, free: 3.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.425e-06/0.4156, allocations: 4 kB / 0.6705 GB, free: 3.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.1482/0.5638, allocations: 4.258 MB / 0.6746 GB, free: 141.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5638, allocations: 67 kB / 0.6747 GB, free: 141.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.5647, allocations: 0.6777 MB / 0.6753 GB, free: 141.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.5649, allocations: 29.67 kB / 0.6754 GB, free: 141.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.565, allocations: 319.8 kB / 0.6757 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.5653, allocations: 326.6 kB / 0.676 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.5654, allocations: 0 / 0.676 GB, free: 141.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.5655, allocations: 340.7 kB / 0.6763 GB, free: 141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.5662, allocations: 430.4 kB / 0.6767 GB, free: 141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/0.5669, allocations: 0.5163 MB / 0.6772 GB, free: 140.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.5676, allocations: 473.8 kB / 0.6777 GB, free: 140.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5676, allocations: 3.812 kB / 0.6777 GB, free: 140.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01135/0.5789, allocations: 4.341 MB / 0.6819 GB, free: 140.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.579, allocations: 3.469 kB / 0.6819 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.579, allocations: 7.219 kB / 0.6819 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005176/0.5842, allocations: 1.756 MB / 0.6836 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.585, allocations: 182 kB / 0.6838 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.5973, allocations: 6.367 MB / 0.69 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.5985, allocations: 205.2 kB / 0.6902 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.5986, allocations: 30.23 kB / 0.6903 GB, free: 139.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.5989, allocations: 130.5 kB / 0.6904 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.599, allocations: 119.6 kB / 0.6905 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/0.6102, allocations: 4.367 MB / 0.6948 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6103, allocations: 7.406 kB / 0.6948 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6103, allocations: 3.906 kB / 0.6948 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.6103, allocations: 3.328 kB / 0.6948 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.6236, allocations: 5.755 MB / 0.7004 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.6236, allocations: 0 / 0.7004 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/0.6245, allocations: 154.7 kB / 0.7005 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0054/0.63, allocations: 1.733 MB / 0.7022 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.6302, allocations: 2.719 kB / 0.7022 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.6419, allocations: 5.658 MB / 0.7078 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6419, allocations: 0 / 0.7078 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01247/0.6544, allocations: 5.183 MB / 0.7128 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.6547, allocations: 207.4 kB / 0.713 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.6549, allocations: 2.938 kB / 0.713 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.656, allocations: 157.1 kB / 0.7132 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.6564, allocations: 132.8 kB / 0.7133 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/0.6565, allocations: 28.22 kB / 0.7133 GB, free: 135.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005662/0.657, allocations: 0.5323 MB / 0.7139 GB, free: 135.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009858/0.658, allocations: 381.2 kB / 0.7142 GB, free: 135.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002425/0.6583, allocations: 133 kB / 0.7143 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004556/0.6628, allocations: 1.953 MB / 0.7163 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.6629, allocations: 0.5625 kB / 0.7163 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/0.6665, allocations: 1.443 MB / 0.7177 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.6669, allocations: 61.75 kB / 0.7177 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.6702, allocations: 1.453 MB / 0.7191 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.6708, allocations: 1.157 MB / 0.7203 GB, free: 132.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6708, allocations: 0 / 0.7203 GB, free: 132.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02553/0.6964, allocations: 18.73 MB / 0.7386 GB, free: 128.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)