Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002293/0.002293, allocations: 182.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.2 MB / 213.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 100.6 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07161/0.07161, allocations: 12.57 MB / 321.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2868/0.2868, allocations: 78.04 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.154e-06, allocations: 4 kB / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 69.31 MB / 0.5818 GB, free: 8.789 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.6197, allocations: 99.29 MB / 0.6788 GB, free: 9.219 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6199, allocations: 78.88 kB / 0.6789 GB, free: 9.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06605/0.686, allocations: 24.43 MB / 0.7027 GB, free: 5.117 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001051/0.6862, allocations: 24 kB / 0.7027 GB, free: 5.094 MB / 442.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.006688/0.6929, allocations: 1.841 MB / 0.7045 GB, free: 3.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6929, allocations: 15.91 kB / 0.7046 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.697, allocations: 0.5899 MB / 0.7051 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.6991, allocations: 0.728 MB / 0.7058 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.6995, allocations: 248.1 kB / 0.7061 GB, free: 1.852 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.6998, allocations: 44 kB / 0.7061 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001909/0.7017, allocations: 0.8169 MB / 0.7069 GB, free: 1.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.7033, allocations: 0.7621 MB / 0.7077 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.7034, allocations: 0 / 0.7077 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/0.7035, allocations: 4 kB / 0.7077 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.7035, allocations: 16 kB / 0.7077 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006928/0.7104, allocations: 3.469 MB / 0.7111 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.7116, allocations: 0.6764 MB / 0.7117 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008212/0.7124, allocations: 0.5521 MB / 0.7123 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.7125, allocations: 16.67 kB / 0.7123 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.7126, allocations: 46.45 kB / 0.7123 GB, free: 13.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 2.325e-06/0.7126, allocations: 4 kB / 0.7123 GB, free: 13.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01315/0.7257, allocations: 4.262 MB / 0.7165 GB, free: 9.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.7258, allocations: 63.56 kB / 0.7166 GB, free: 9.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.7271, allocations: 0.6829 MB / 0.7172 GB, free: 8.977 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.7273, allocations: 29.7 kB / 0.7172 GB, free: 8.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.7276, allocations: 315.1 kB / 0.7176 GB, free: 8.676 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/0.7281, allocations: 323.9 kB / 0.7179 GB, free: 8.391 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.7282, allocations: 0 / 0.7179 GB, free: 8.391 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7284, allocations: 344.5 kB / 0.7182 GB, free: 8.062 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.7292, allocations: 432.1 kB / 0.7186 GB, free: 7.844 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.7301, allocations: 0.5267 MB / 0.7191 GB, free: 7.504 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.7309, allocations: 473.2 kB / 0.7196 GB, free: 7.246 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7309, allocations: 4 kB / 0.7196 GB, free: 7.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0135/0.7444, allocations: 4.331 MB / 0.7238 GB, free: 3.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7445, allocations: 4 kB / 0.7238 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.7445, allocations: 4 kB / 0.7238 GB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006321/0.7508, allocations: 1.749 MB / 0.7255 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.752, allocations: 187.3 kB / 0.7257 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.7674, allocations: 6.387 MB / 0.7319 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7693, allocations: 207.1 kB / 0.7321 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.7696, allocations: 30.62 kB / 0.7322 GB, free: 12.75 MB / 474.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.0004113/0.77, allocations: 116.8 kB / 0.7323 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.7705, allocations: 118.5 kB / 0.7324 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/0.7859, allocations: 4.362 MB / 0.7366 GB, free: 8.527 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.7859, allocations: 8 kB / 0.7366 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.786, allocations: 4 kB / 0.7367 GB, free: 8.516 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/0.786, allocations: 7.969 kB / 0.7367 GB, free: 8.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.8031, allocations: 5.763 MB / 0.7423 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8032, allocations: 0 / 0.7423 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.8041, allocations: 151.8 kB / 0.7424 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005811/0.81, allocations: 1.73 MB / 0.7441 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/0.8103, allocations: 11.92 kB / 0.7441 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.8242, allocations: 5.66 MB / 0.7497 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8243, allocations: 4 kB / 0.7497 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01542/0.8397, allocations: 5.177 MB / 0.7547 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/0.8403, allocations: 203.4 kB / 0.7549 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.8408, allocations: 0 / 0.7549 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.8423, allocations: 159.8 kB / 0.7551 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004826/0.8428, allocations: 136.8 kB / 0.7552 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.8429, allocations: 20 kB / 0.7552 GB, free: 5.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00101/0.8439, allocations: 0.5225 MB / 0.7557 GB, free: 4.719 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001717/0.8457, allocations: 395.4 kB / 0.7561 GB, free: 4.332 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.0003495/0.846, allocations: 127.1 kB / 0.7562 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005624/0.8517, allocations: 1.946 MB / 0.7581 GB, free: 2.234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8517, allocations: 4 kB / 0.7581 GB, free: 2.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004293/0.856, allocations: 1.445 MB / 0.7595 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.8569, allocations: 56.42 kB / 0.7596 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.862, allocations: 1.463 MB / 0.761 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.863, allocations: 1.154 MB / 0.7622 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.863, allocations: 0 / 0.7622 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.03725/0.9003, allocations: 18.73 MB / 0.7804 GB, free: 11.31 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)