Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.002351/0.002351, allocations: 178.6 kB / 7.454 MB, free: 2.508 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.2/1.2, allocations: 221.4 MB / 229.3 MB, free: 3.129 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.0009249/0.0009249, allocations: 93.03 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4251/0.4251, allocations: 78.05 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.73e-06, allocations: 0 / 484.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2791, allocations: 69.34 MB / 0.5407 GB, free: 21.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3934, allocations: 97.51 MB / 0.6359 GB, free: 7.234 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.3937, allocations: 79.95 kB / 0.636 GB, free: 7.156 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07316/0.4668, allocations: 24.85 MB / 0.6603 GB, free: 14.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.101e-05/0.4669, allocations: 20 kB / 0.6603 GB, free: 14.09 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005515/0.4725, allocations: 1.832 MB / 0.6621 GB, free: 12.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4725, allocations: 8.031 kB / 0.6621 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/0.4764, allocations: 0.5836 MB / 0.6627 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.4781, allocations: 0.7244 MB / 0.6634 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.4784, allocations: 240.2 kB / 0.6636 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.4786, allocations: 44 kB / 0.6636 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001801/0.4805, allocations: 0.8201 MB / 0.6644 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.4821, allocations: 0.7648 MB / 0.6652 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4821, allocations: 0 / 0.6652 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.4822, allocations: 3.984 kB / 0.6652 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4822, allocations: 16 kB / 0.6652 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00713/0.4894, allocations: 3.444 MB / 0.6686 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4905, allocations: 0.665 MB / 0.6692 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009342/0.4914, allocations: 0.5461 MB / 0.6698 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.4916, allocations: 16.77 kB / 0.6698 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4916, allocations: 47.33 kB / 0.6698 GB, free: 4.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.076e-06/0.4916, allocations: 0 / 0.6698 GB, free: 4.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.1908/0.6824, allocations: 4.247 MB / 0.674 GB, free: 142 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.6825, allocations: 66.66 kB / 0.674 GB, free: 141.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008475/0.6834, allocations: 0.672 MB / 0.6747 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.6836, allocations: 31.48 kB / 0.6747 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.6837, allocations: 313.8 kB / 0.675 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.6841, allocations: 318.6 kB / 0.6753 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.6842, allocations: 0 / 0.6753 GB, free: 141.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.6843, allocations: 337.4 kB / 0.6756 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.685, allocations: 430.8 kB / 0.676 GB, free: 141.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.6857, allocations: 0.5131 MB / 0.6765 GB, free: 141.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.6864, allocations: 465.7 kB / 0.677 GB, free: 141.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.6864, allocations: 3.688 kB / 0.677 GB, free: 141.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0126/0.699, allocations: 4.366 MB / 0.6813 GB, free: 141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6991, allocations: 7.469 kB / 0.6813 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.6991, allocations: 5.906 kB / 0.6813 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005537/0.7047, allocations: 1.744 MB / 0.683 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/0.7057, allocations: 168 kB / 0.6831 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.7193, allocations: 6.13 MB / 0.6891 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.7209, allocations: 202.8 kB / 0.6893 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.721, allocations: 32.23 kB / 0.6893 GB, free: 139.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "Rotor angle" 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 (73): * Single equations (assignments): 72 * 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 prepare postOptimizeDAE: time 0.0002868/0.7213, allocations: 115.9 kB / 0.6895 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.7215, allocations: 121.8 kB / 0.6896 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.7339, allocations: 4.355 MB / 0.6938 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.734, allocations: 14 kB / 0.6938 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.734, allocations: 3.828 kB / 0.6938 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.734, allocations: 3.844 kB / 0.6938 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.7488, allocations: 5.701 MB / 0.6994 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.7488, allocations: 2.25 kB / 0.6994 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/0.7497, allocations: 146.1 kB / 0.6996 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005624/0.7553, allocations: 1.734 MB / 0.7012 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.7554, allocations: 8.344 kB / 0.7013 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/0.7681, allocations: 5.658 MB / 0.7068 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7681, allocations: 0 / 0.7068 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01355/0.7817, allocations: 5.124 MB / 0.7118 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.7821, allocations: 203.3 kB / 0.712 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.7823, allocations: 0 / 0.712 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7835, allocations: 159 kB / 0.7121 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.7838, allocations: 132.6 kB / 0.7123 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.7839, allocations: 24.62 kB / 0.7123 GB, free: 135.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005888/0.7845, allocations: 0.5245 MB / 0.7128 GB, free: 135.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001073/0.7856, allocations: 385.1 kB / 0.7132 GB, free: 135.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * 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): 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.0002466/0.7859, allocations: 130.1 kB / 0.7133 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005194/0.7911, allocations: 1.935 MB / 0.7152 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7911, allocations: 3.281 kB / 0.7152 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004304/0.7954, allocations: 1.451 MB / 0.7166 GB, free: 134.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.7961, allocations: 49.94 kB / 0.7166 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.7998, allocations: 1.382 MB / 0.718 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/0.8006, allocations: 1.159 MB / 0.7191 GB, free: 133 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8006, allocations: 0 / 0.7191 GB, free: 133 MB / 490.7 MB Notification: Performance of Templates: time 0.02638/0.827, allocations: 18.35 MB / 0.737 GB, free: 129.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)