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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004782/0.004782, allocations: 172.4 kB / 15.12 MB, free: 5.973 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.151/1.151, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008602/0.0008601, allocations: 100 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3976/0.3976, allocations: 78.52 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 8 kB / 499.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 69.36 MB / 0.5557 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.4049, allocations: 98.32 MB / 0.6517 GB, free: 8.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.4051, allocations: 85.08 kB / 0.6518 GB, free: 7.957 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06181/0.4669, allocations: 25.49 MB / 0.6767 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.467, allocations: 0 / 0.6767 GB, free: 14.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.145e-05/0.467, allocations: 20 kB / 0.6767 GB, free: 14.31 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.004412/0.4714, allocations: 1.967 MB / 0.6786 GB, free: 12.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.4715, allocations: 12.03 kB / 0.6787 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.4744, allocations: 0.5642 MB / 0.6792 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4756, allocations: 0.7244 MB / 0.6799 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.4758, allocations: 268.2 kB / 0.6802 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.476, allocations: 72 kB / 0.6802 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.4781, allocations: 1.147 MB / 0.6814 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4781, allocations: 0 / 0.6814 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.4782, allocations: 32 kB / 0.6814 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4782, allocations: 16 kB / 0.6814 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.4806, allocations: 1.238 MB / 0.6826 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.4862, allocations: 3.545 MB / 0.6861 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.4883, allocations: 1.494 MB / 0.6875 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.94e-05/0.4884, allocations: 16.98 kB / 0.6875 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4884, allocations: 39.56 kB / 0.6876 GB, free: 2.754 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.124e-06/0.4884, allocations: 0 / 0.6876 GB, free: 2.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02601/0.5144, allocations: 8.263 MB / 0.6957 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5145, allocations: 68.34 kB / 0.6957 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.5154, allocations: 0.7457 MB / 0.6964 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.5155, allocations: 45.64 kB / 0.6965 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.5158, allocations: 497 kB / 0.697 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.5161, allocations: 335.1 kB / 0.6973 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.5162, allocations: 16 kB / 0.6973 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5163, allocations: 349.8 kB / 0.6976 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.5177, allocations: 0.7008 MB / 0.6983 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.5192, allocations: 0.8156 MB / 0.6991 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.5207, allocations: 0.7496 MB / 0.6998 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5207, allocations: 0 / 0.6998 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01313/0.5338, allocations: 4.946 MB / 0.7047 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5338, allocations: 4 kB / 0.7047 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5339, allocations: 4 kB / 0.7047 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005998/0.5399, allocations: 2.166 MB / 0.7068 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.5406, allocations: 167.8 kB / 0.707 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.5609, allocations: 9.79 MB / 0.7165 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.5623, allocations: 207.1 kB / 0.7167 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.5624, allocations: 32 kB / 0.7167 GB, free: 4.621 MB / 0.5105 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.0005252/0.5629, allocations: 236.2 kB / 0.717 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.5631, allocations: 122.5 kB / 0.7171 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.5768, allocations: 4.959 MB / 0.7219 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.5768, allocations: 23.97 kB / 0.722 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5768, allocations: 0 / 0.722 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.5769, allocations: 3.984 kB / 0.722 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.5922, allocations: 6.558 MB / 0.7284 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.5923, allocations: 0 / 0.7284 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.593, allocations: 147.8 kB / 0.7285 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005923/0.599, allocations: 2.055 MB / 0.7305 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.5991, allocations: 16 kB / 0.7305 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/0.6168, allocations: 8.655 MB / 0.739 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6169, allocations: 0 / 0.739 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.6323, allocations: 5.986 MB / 0.7448 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.6327, allocations: 199.5 kB / 0.745 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.6329, allocations: 28.02 kB / 0.745 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.634, allocations: 152.1 kB / 0.7452 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006554/0.6347, allocations: 216.6 kB / 0.7454 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.6348, allocations: 27.94 kB / 0.7454 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008227/0.6356, allocations: 0.5848 MB / 0.746 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.653e-06/0.6356, allocations: 0 / 0.746 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00127/0.6369, allocations: 427.3 kB / 0.7464 GB, free: 5.895 MB / 0.5417 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.0002898/0.6372, allocations: 142.3 kB / 0.7465 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006409/0.6436, allocations: 2.591 MB / 0.7491 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6436, allocations: 0 / 0.7491 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004582/0.6482, allocations: 1.786 MB / 0.7508 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.6488, allocations: 68.42 kB / 0.7509 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.6525, allocations: 2.309 MB / 0.7531 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.6531, allocations: 1.107 MB / 0.7542 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.6534, allocations: 73.48 kB / 0.7543 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.6537, allocations: 55.42 kB / 0.7543 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.6537, allocations: 0 / 0.7543 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.2111/0.8647, allocations: 19.34 MB / 0.7732 GB, free: 149.4 MB / 0.5573 GB 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)