Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 104.1 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 239.6 MB, free: 4.699 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 188.4 kB / 289.9 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4963/0.4963, allocations: 91.91 MB / 432 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 87.86 kB / 0.502 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3286, allocations: 71.25 MB / 0.5716 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00526/0.3339, allocations: 6.048 MB / 0.5775 GB, free: 33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.337, allocations: 1.769 MB / 0.5793 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.3377, allocations: 15.47 kB / 0.5793 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.3381, allocations: 163.4 kB / 0.5794 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.3396, allocations: 0.5988 MB / 0.58 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.3406, allocations: 0.5064 MB / 0.5805 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.3416, allocations: 1.223 MB / 0.5817 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.3419, allocations: 277.6 kB / 0.582 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.3424, allocations: 0.5216 MB / 0.5825 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.3429, allocations: 0.6355 MB / 0.5831 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.343, allocations: 85.56 kB / 0.5832 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.3434, allocations: 228.2 kB / 0.5834 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3435, allocations: 240.7 kB / 0.5836 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.3438, allocations: 0.5393 MB / 0.5842 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007754/0.3446, allocations: 1.025 MB / 0.5852 GB, free: 28.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3446, allocations: 0 / 0.5852 GB, free: 28.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3446, allocations: 0 / 0.5852 GB, free: 28.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3447, allocations: 3.938 kB / 0.5852 GB, free: 28.96 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006764/0.3514, allocations: 2.33 MB / 0.5874 GB, free: 27.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3515, allocations: 8.594 kB / 0.5874 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.3563, allocations: 0.762 MB / 0.5882 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009651/0.3573, allocations: 0.6969 MB / 0.5889 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.3576, allocations: 251.8 kB / 0.5891 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.3577, allocations: 63.94 kB / 0.5892 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.3596, allocations: 0.9416 MB / 0.5901 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.3596, allocations: 7.938 kB / 0.5901 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/0.3597, allocations: 25.31 kB / 0.5901 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3597, allocations: 15.78 kB / 0.5901 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.3617, allocations: 0.972 MB / 0.5911 GB, free: 26.33 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.3665, allocations: 3.156 MB / 0.5942 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.3683, allocations: 1.311 MB / 0.5954 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.3696, allocations: 0.7013 MB / 0.5961 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.3697, allocations: 15.48 kB / 0.5961 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3697, allocations: 38.97 kB / 0.5962 GB, free: 23.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.426e-06/0.3698, allocations: 0 / 0.5962 GB, free: 23.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02679/0.3965, allocations: 6.693 MB / 0.6027 GB, free: 22.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3966, allocations: 64.03 kB / 0.6028 GB, free: 22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3978, allocations: 0.7879 MB / 0.6035 GB, free: 21.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.398, allocations: 40.45 kB / 0.6036 GB, free: 21.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3982, allocations: 430.1 kB / 0.604 GB, free: 21.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.3985, allocations: 291.7 kB / 0.6043 GB, free: 21.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.3989, allocations: 175.2 kB / 0.6044 GB, free: 20.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.3989, allocations: 342.8 kB / 0.6048 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.4003, allocations: 0.6445 MB / 0.6054 GB, free: 20.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.4019, allocations: 0.7595 MB / 0.6061 GB, free: 20.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01767/0.4195, allocations: 4.46 MB / 0.6105 GB, free: 18.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.4196, allocations: 0 / 0.6105 GB, free: 18.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01338/0.433, allocations: 4.043 MB / 0.6144 GB, free: 17.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.4331, allocations: 6.031 kB / 0.6144 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.4331, allocations: 3.281 kB / 0.6145 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006022/0.4391, allocations: 1.867 MB / 0.6163 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.44, allocations: 163.8 kB / 0.6164 GB, free: 16.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.4583, allocations: 9.105 MB / 0.6253 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.4598, allocations: 159 kB / 0.6255 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.46, allocations: 35.98 kB / 0.6255 GB, free: 7 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.4604, allocations: 221.7 kB / 0.6257 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.4606, allocations: 98.78 kB / 0.6258 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.472, allocations: 3.821 MB / 0.6295 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.472, allocations: 11.98 kB / 0.6296 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.472, allocations: 3.984 kB / 0.6296 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.472, allocations: 3.984 kB / 0.6296 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.4856, allocations: 5.324 MB / 0.6348 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.4857, allocations: 0 / 0.6348 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.4862, allocations: 87.89 kB / 0.6348 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005854/0.4921, allocations: 1.745 MB / 0.6366 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.4924, allocations: 16 kB / 0.6366 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.5108, allocations: 8.096 MB / 0.6445 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5109, allocations: 0 / 0.6445 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.5252, allocations: 4.681 MB / 0.649 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.5256, allocations: 187.6 kB / 0.6492 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.5258, allocations: 23.92 kB / 0.6492 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/0.5267, allocations: 91.97 kB / 0.6493 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006822/0.5274, allocations: 204.7 kB / 0.6495 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.5275, allocations: 20 kB / 0.6495 GB, free: 14.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007019/0.5282, allocations: 0.5264 MB / 0.6501 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5282, allocations: 0 / 0.6501 GB, free: 13.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001167/0.5294, allocations: 407.5 kB / 0.6505 GB, free: 13.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.5297, allocations: 127.1 kB / 0.6506 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006762/0.5365, allocations: 2.322 MB / 0.6528 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5365, allocations: 0.5625 kB / 0.6528 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004614/0.5411, allocations: 1.495 MB / 0.6543 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.542, allocations: 79.31 kB / 0.6544 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.5452, allocations: 2.05 MB / 0.6564 GB, free: 6.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.5458, allocations: 1.029 MB / 0.6574 GB, free: 5.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.546, allocations: 67.36 kB / 0.6574 GB, free: 5.844 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.546, allocations: 0 / 0.6574 GB, free: 5.844 MB / 462.1 MB Notification: Performance of Templates: time 0.0227/0.5687, allocations: 17.57 MB / 0.6746 GB, free: 4.258 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)