Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006819/0.006819, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 95.75 kB / 290.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.58 MB / 419.9 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 499.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 69.36 MB / 0.5558 GB, free: 1.887 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.4383, allocations: 98.3 MB / 0.6518 GB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4385, allocations: 82.3 kB / 0.6519 GB, free: 3.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06514/0.5036, allocations: 25.49 MB / 0.6768 GB, free: 11.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5037, allocations: 4 kB / 0.6768 GB, free: 11.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.442e-05/0.5037, allocations: 16 kB / 0.6768 GB, free: 11.02 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004819/0.5086, allocations: 1.978 MB / 0.6787 GB, free: 8.988 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5086, allocations: 8.031 kB / 0.6787 GB, free: 8.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.5117, allocations: 0.5642 MB / 0.6793 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.5131, allocations: 0.7244 MB / 0.68 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.5134, allocations: 264.2 kB / 0.6802 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.5135, allocations: 78.16 kB / 0.6803 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.5158, allocations: 1.151 MB / 0.6814 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.5158, allocations: 0 / 0.6814 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.5159, allocations: 32 kB / 0.6815 GB, free: 6.074 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.516, allocations: 16 kB / 0.6815 GB, free: 6.059 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.5184, allocations: 1.238 MB / 0.6827 GB, free: 4.824 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.5243, allocations: 3.542 MB / 0.6861 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.5265, allocations: 1.489 MB / 0.6876 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.5266, allocations: 12.98 kB / 0.6876 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5266, allocations: 51.53 kB / 0.6876 GB, free: 15.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.846e-06/0.5266, allocations: 0 / 0.6876 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02727/0.5539, allocations: 8.255 MB / 0.6957 GB, free: 7.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.554, allocations: 60.41 kB / 0.6958 GB, free: 7.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.5551, allocations: 0.7534 MB / 0.6965 GB, free: 6.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.5553, allocations: 41.7 kB / 0.6965 GB, free: 6.273 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.5556, allocations: 0.4931 MB / 0.697 GB, free: 5.773 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.556, allocations: 331 kB / 0.6973 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.556, allocations: 20 kB / 0.6974 GB, free: 5.426 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5561, allocations: 341.9 kB / 0.6977 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.5577, allocations: 0.7086 MB / 0.6984 GB, free: 4.379 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.5592, allocations: 0.8156 MB / 0.6992 GB, free: 3.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.5608, allocations: 0.7496 MB / 0.6999 GB, free: 2.785 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5608, allocations: 1.875 kB / 0.6999 GB, free: 2.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01384/0.5746, allocations: 4.934 MB / 0.7047 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5747, allocations: 11.98 kB / 0.7047 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5747, allocations: 0 / 0.7047 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006345/0.5811, allocations: 2.174 MB / 0.7069 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.582, allocations: 167 kB / 0.707 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.6029, allocations: 9.783 MB / 0.7166 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.6043, allocations: 207.1 kB / 0.7168 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.6044, allocations: 35.98 kB / 0.7168 GB, free: 1.34 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.0005094/0.6049, allocations: 231.6 kB / 0.717 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.6051, allocations: 114.6 kB / 0.7171 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.6188, allocations: 4.967 MB / 0.722 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.6188, allocations: 12 kB / 0.722 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6188, allocations: 0 / 0.722 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.6188, allocations: 3.984 kB / 0.722 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.6343, allocations: 6.563 MB / 0.7284 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6343, allocations: 0 / 0.7284 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.6351, allocations: 139.9 kB / 0.7285 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005936/0.641, allocations: 2.063 MB / 0.7306 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.6412, allocations: 19.98 kB / 0.7306 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.018/0.6592, allocations: 8.655 MB / 0.739 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6592, allocations: 0 / 0.739 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.6748, allocations: 5.986 MB / 0.7449 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.6752, allocations: 203.6 kB / 0.7451 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.6753, allocations: 19.95 kB / 0.7451 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009824/0.6763, allocations: 156.1 kB / 0.7452 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006455/0.677, allocations: 224.5 kB / 0.7455 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.677, allocations: 20 kB / 0.7455 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007816/0.6778, allocations: 0.5848 MB / 0.746 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6778, allocations: 4 kB / 0.746 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001139/0.679, allocations: 423.4 kB / 0.7464 GB, free: 2.633 MB / 0.5261 GB 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 () * Number of clocked 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.0002745/0.6793, allocations: 139.2 kB / 0.7466 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006379/0.6856, allocations: 2.587 MB / 0.7491 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6857, allocations: 4.125 kB / 0.7491 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004562/0.6902, allocations: 1.786 MB / 0.7509 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.6907, allocations: 73.06 kB / 0.7509 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.694, allocations: 2.313 MB / 0.7532 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.6946, allocations: 1.107 MB / 0.7543 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003222/0.6949, allocations: 73.48 kB / 0.7543 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.6951, allocations: 47.44 kB / 0.7544 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of SimCode: time 6.12e-07/0.6951, allocations: 0 / 0.7544 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.02769/0.7228, allocations: 19.35 MB / 0.7733 GB, free: 7.125 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)