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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004655/0.004655, allocations: 169.5 kB / 15.11 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 56 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.001076/0.001076, allocations: 97.55 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4645/0.4645, allocations: 78.58 MB / 419.9 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 16 kB / 499.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 69.35 MB / 0.5558 GB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4688, allocations: 98.53 MB / 0.652 GB, free: 3.629 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4691, allocations: 80.5 kB / 0.6521 GB, free: 3.586 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06471/0.5338, allocations: 25.82 MB / 0.6773 GB, free: 10.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5338, allocations: 4 kB / 0.6773 GB, free: 10.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.518e-05/0.5339, allocations: 16 kB / 0.6773 GB, free: 10.41 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004937/0.5388, allocations: 1.997 MB / 0.6793 GB, free: 8.363 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5389, allocations: 8.031 kB / 0.6793 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.5423, allocations: 0.5699 MB / 0.6798 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.5438, allocations: 0.7285 MB / 0.6805 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.544, allocations: 268.2 kB / 0.6808 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.5442, allocations: 76 kB / 0.6809 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.5466, allocations: 1.151 MB / 0.682 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5466, allocations: 0 / 0.682 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5467, allocations: 39.98 kB / 0.682 GB, free: 5.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5468, allocations: 16 kB / 0.682 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.5494, allocations: 1.238 MB / 0.6833 GB, free: 4.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006078/0.5555, allocations: 3.573 MB / 0.6867 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.5577, allocations: 1.506 MB / 0.6882 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.5578, allocations: 9 kB / 0.6882 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5579, allocations: 43.56 kB / 0.6883 GB, free: 14.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.805e-06/0.5579, allocations: 4 kB / 0.6883 GB, free: 14.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.02853/0.5864, allocations: 8.462 MB / 0.6965 GB, free: 6.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.5865, allocations: 60.41 kB / 0.6966 GB, free: 6.199 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5877, allocations: 0.762 MB / 0.6973 GB, free: 5.422 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.5879, allocations: 37.7 kB / 0.6974 GB, free: 5.379 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.5883, allocations: 0.5127 MB / 0.6979 GB, free: 4.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.5886, allocations: 331 kB / 0.6982 GB, free: 4.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.5887, allocations: 19 kB / 0.6982 GB, free: 4.516 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5888, allocations: 345.9 kB / 0.6985 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.5903, allocations: 0.7164 MB / 0.6992 GB, free: 3.457 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.5919, allocations: 0.8195 MB / 0.7 GB, free: 2.605 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.5935, allocations: 0.7536 MB / 0.7008 GB, free: 1.855 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5935, allocations: 0 / 0.7008 GB, free: 1.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01407/0.6076, allocations: 4.91 MB / 0.7056 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.6077, allocations: 7.938 kB / 0.7056 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6077, allocations: 4 kB / 0.7056 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008/0.6157, allocations: 2.108 MB / 0.7076 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6171, allocations: 175.8 kB / 0.7078 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03457/0.6517, allocations: 9.99 MB / 0.7176 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.6535, allocations: 203.2 kB / 0.7178 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6536, allocations: 33.58 kB / 0.7178 GB, free: 296 kB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked 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.000653/0.6543, allocations: 235 kB / 0.718 GB, free: 52 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.6546, allocations: 126.5 kB / 0.7181 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/0.6697, allocations: 4.959 MB / 0.723 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6698, allocations: 8 kB / 0.723 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6698, allocations: 0 / 0.723 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/0.6698, allocations: 7.969 kB / 0.723 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.686, allocations: 6.593 MB / 0.7294 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.686, allocations: 0.6875 kB / 0.7294 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.6869, allocations: 143.8 kB / 0.7296 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006144/0.693, allocations: 2.055 MB / 0.7316 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.6933, allocations: 24 kB / 0.7316 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.7119, allocations: 8.637 MB / 0.74 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.712, allocations: 0 / 0.74 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/0.7284, allocations: 6.021 MB / 0.7459 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.7289, allocations: 211.3 kB / 0.7461 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.7291, allocations: 16 kB / 0.7461 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7301, allocations: 157.9 kB / 0.7463 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000708/0.7308, allocations: 220.5 kB / 0.7465 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.7309, allocations: 23.98 kB / 0.7465 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008022/0.7317, allocations: 0.5969 MB / 0.7471 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7317, allocations: 0 / 0.7471 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001197/0.7329, allocations: 427.5 kB / 0.7475 GB, free: 1.504 MB / 0.5261 GB 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 () * Number of clocked 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.0002763/0.7332, allocations: 139.2 kB / 0.7476 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006781/0.74, allocations: 2.608 MB / 0.7502 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7401, allocations: 0 / 0.7502 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004955/0.745, allocations: 1.795 MB / 0.7519 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.7457, allocations: 74.45 kB / 0.752 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.7495, allocations: 2.389 MB / 0.7543 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.7502, allocations: 1.122 MB / 0.7554 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000356/0.7506, allocations: 77.5 kB / 0.7555 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.7508, allocations: 51.44 kB / 0.7556 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/0.7508, allocations: 0 / 0.7556 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of Templates: time 0.02894/0.7798, allocations: 19.65 MB / 0.7747 GB, free: 5.605 MB / 0.5573 GB 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)