Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004143/0.004143, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.177/1.177, allocations: 223.2 MB / 239 MB, free: 1.746 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.000835/0.000835, allocations: 90.48 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4085/0.4085, allocations: 78.52 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 16 kB / 499.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 69.35 MB / 0.5557 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09999/0.3994, allocations: 97.05 MB / 0.6505 GB, free: 9.328 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.3997, allocations: 80.86 kB / 0.6506 GB, free: 9.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05874/0.4584, allocations: 23.35 MB / 0.6734 GB, free: 1.781 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4585, allocations: 0 / 0.6734 GB, free: 1.781 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.901e-05/0.4585, allocations: 16 kB / 0.6734 GB, free: 1.766 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004176/0.4627, allocations: 1.772 MB / 0.6751 GB, free: 15.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4628, allocations: 12.03 kB / 0.6751 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.4657, allocations: 0.541 MB / 0.6757 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4669, allocations: 0.6797 MB / 0.6763 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.4672, allocations: 256.1 kB / 0.6766 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4673, allocations: 71.95 kB / 0.6766 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4692, allocations: 1.022 MB / 0.6776 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4692, allocations: 4 kB / 0.6776 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.4693, allocations: 24 kB / 0.6777 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4693, allocations: 16 kB / 0.6777 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.4713, allocations: 1.062 MB / 0.6787 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005095/0.4764, allocations: 3.225 MB / 0.6819 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.4783, allocations: 1.364 MB / 0.6832 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.4784, allocations: 12.66 kB / 0.6832 GB, free: 7.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4784, allocations: 43.22 kB / 0.6832 GB, free: 7.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.4784, allocations: 0 / 0.6832 GB, free: 7.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.02559/0.504, allocations: 8.19 MB / 0.6912 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5041, allocations: 60.06 kB / 0.6913 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/0.505, allocations: 0.6808 MB / 0.692 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.5052, allocations: 37.7 kB / 0.692 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.5055, allocations: 452.3 kB / 0.6924 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.5058, allocations: 287.7 kB / 0.6927 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.5058, allocations: 16 kB / 0.6927 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.506, allocations: 330 kB / 0.693 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5072, allocations: 0.6266 MB / 0.6936 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.5085, allocations: 0.7336 MB / 0.6944 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5098, allocations: 0.6678 MB / 0.695 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5098, allocations: 4 kB / 0.695 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01287/0.5227, allocations: 4.708 MB / 0.6996 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5227, allocations: 9.406 kB / 0.6996 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5227, allocations: 0 / 0.6996 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006198/0.5289, allocations: 2.111 MB / 0.7017 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.5296, allocations: 123.8 kB / 0.7018 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.55, allocations: 9.987 MB / 0.7116 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5512, allocations: 171.3 kB / 0.7117 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.5512, allocations: 27.94 kB / 0.7118 GB, free: 9.773 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.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 (61): * Single equations (assignments): 60 * 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.0004343/0.5517, allocations: 231.2 kB / 0.712 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5519, allocations: 102.8 kB / 0.7121 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.5646, allocations: 4.735 MB / 0.7167 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5646, allocations: 8 kB / 0.7167 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5646, allocations: 0 / 0.7167 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.5646, allocations: 7.969 kB / 0.7167 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.5788, allocations: 6.242 MB / 0.7228 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5788, allocations: 0 / 0.7228 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.5792, allocations: 99.88 kB / 0.7229 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005652/0.5849, allocations: 2.051 MB / 0.7249 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/0.585, allocations: 12 kB / 0.7249 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.602, allocations: 8.655 MB / 0.7334 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.602, allocations: 0 / 0.7334 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.616, allocations: 5.669 MB / 0.7389 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.6164, allocations: 195.7 kB / 0.7391 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6165, allocations: 16 kB / 0.7391 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.6173, allocations: 127.9 kB / 0.7392 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005315/0.6179, allocations: 204.6 kB / 0.7394 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.618, allocations: 16 kB / 0.7394 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006268/0.6186, allocations: 0.5265 MB / 0.7399 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6186, allocations: 0 / 0.7399 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001021/0.6196, allocations: 399.5 kB / 0.7403 GB, free: 12.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0002288/0.6199, allocations: 147 kB / 0.7405 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005739/0.6256, allocations: 2.405 MB / 0.7428 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6256, allocations: 3.938 kB / 0.7428 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/0.6299, allocations: 1.686 MB / 0.7445 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.6304, allocations: 67.34 kB / 0.7445 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.6331, allocations: 2.076 MB / 0.7466 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.6336, allocations: 1.044 MB / 0.7476 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.6338, allocations: 61.14 kB / 0.7476 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.634, allocations: 47.44 kB / 0.7477 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.634, allocations: 0 / 0.7477 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of Templates: time 0.02396/0.6579, allocations: 18.66 MB / 0.7659 GB, free: 1.875 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)