Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005062/0.005061, allocations: 101 kB / 15.73 MB, free: 6.039 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.357/1.357, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001505/0.001505, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4534/0.4534, allocations: 78.52 MB / 418.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 79.88 kB / 0.5536 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3368, allocations: 68.17 MB / 0.6202 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005325/0.3421, allocations: 5.684 MB / 0.6257 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.3448, allocations: 1.728 MB / 0.6274 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.3451, allocations: 8 kB / 0.6274 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.3456, allocations: 198.3 kB / 0.6276 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.3467, allocations: 0.6846 MB / 0.6283 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009063/0.3477, allocations: 0.5515 MB / 0.6288 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000853/0.3485, allocations: 1.229 MB / 0.63 GB, free: 132 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.3489, allocations: 279 kB / 0.6303 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.3495, allocations: 0.5095 MB / 0.6308 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.3502, allocations: 0.6378 MB / 0.6314 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3503, allocations: 88 kB / 0.6315 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.3507, allocations: 223.8 kB / 0.6317 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.3509, allocations: 235 kB / 0.6319 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.3513, allocations: 0.5397 MB / 0.6325 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3526, allocations: 1.341 MB / 0.6338 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3526, allocations: 0 / 0.6338 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3526, allocations: 0 / 0.6338 GB, free: 12.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3526, allocations: 0 / 0.6338 GB, free: 12.27 MB / 446.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.007161/0.3598, allocations: 2.329 MB / 0.636 GB, free: 9.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3599, allocations: 12.03 kB / 0.6361 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.3647, allocations: 0.7596 MB / 0.6368 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.3659, allocations: 0.6933 MB / 0.6375 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.3662, allocations: 259.4 kB / 0.6377 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3663, allocations: 71.91 kB / 0.6378 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.3683, allocations: 0.9395 MB / 0.6387 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3684, allocations: 3.938 kB / 0.6387 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.3684, allocations: 24 kB / 0.6387 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3685, allocations: 16 kB / 0.6388 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.3705, allocations: 0.9772 MB / 0.6397 GB, free: 6.047 MB / 446.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.005461/0.376, allocations: 3.135 MB / 0.6428 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.3781, allocations: 1.31 MB / 0.644 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3794, allocations: 0.7022 MB / 0.6447 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.3796, allocations: 12.64 kB / 0.6447 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3796, allocations: 43.22 kB / 0.6448 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.795e-06/0.3796, allocations: 0 / 0.6448 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02462/0.4042, allocations: 6.7 MB / 0.6513 GB, free: 9.824 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4043, allocations: 60.06 kB / 0.6514 GB, free: 9.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.4055, allocations: 0.7944 MB / 0.6522 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.4057, allocations: 41.7 kB / 0.6522 GB, free: 8.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.406, allocations: 424.5 kB / 0.6526 GB, free: 8.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.4064, allocations: 287.8 kB / 0.6529 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/0.4068, allocations: 178.5 kB / 0.6531 GB, free: 8.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.407, allocations: 345.9 kB / 0.6534 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4084, allocations: 0.6386 MB / 0.654 GB, free: 7.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4098, allocations: 0.7666 MB / 0.6548 GB, free: 6.234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/0.4264, allocations: 4.442 MB / 0.6591 GB, free: 1.758 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4264, allocations: 4 kB / 0.6591 GB, free: 1.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01246/0.4389, allocations: 4.039 MB / 0.663 GB, free: 13.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4389, allocations: 4 kB / 0.663 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4389, allocations: 4 kB / 0.663 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005929/0.4449, allocations: 1.862 MB / 0.6649 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.4458, allocations: 163.7 kB / 0.665 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.4664, allocations: 9.097 MB / 0.6739 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4677, allocations: 155 kB / 0.6741 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.4679, allocations: 35.98 kB / 0.6741 GB, free: 2.23 MB / 478.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.0005421/0.4685, allocations: 229.5 kB / 0.6743 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.4687, allocations: 98.78 kB / 0.6744 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.4807, allocations: 3.825 MB / 0.6781 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.4807, allocations: 8 kB / 0.6781 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4807, allocations: 0 / 0.6781 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.4808, allocations: 3.984 kB / 0.6781 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.4947, allocations: 5.322 MB / 0.6833 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.4947, allocations: 4 kB / 0.6833 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.4953, allocations: 83.89 kB / 0.6834 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005666/0.5009, allocations: 1.753 MB / 0.6851 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.5011, allocations: 15.98 kB / 0.6852 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0183/0.5194, allocations: 8.068 MB / 0.693 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5195, allocations: 0 / 0.693 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.5332, allocations: 4.689 MB / 0.6976 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.5335, allocations: 179.7 kB / 0.6978 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.5337, allocations: 19.94 kB / 0.6978 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008979/0.5346, allocations: 95.95 kB / 0.6979 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006618/0.5353, allocations: 204.6 kB / 0.6981 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.5354, allocations: 20 kB / 0.6981 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007038/0.5361, allocations: 0.5224 MB / 0.6986 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5361, allocations: 0 / 0.6986 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001266/0.5374, allocations: 411.5 kB / 0.699 GB, free: 8.348 MB / 0.4981 GB 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.0002557/0.5377, allocations: 123.2 kB / 0.6991 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005946/0.5436, allocations: 2.295 MB / 0.7014 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5436, allocations: 8.125 kB / 0.7014 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/0.548, allocations: 1.495 MB / 0.7028 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.5488, allocations: 75.31 kB / 0.7029 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.5522, allocations: 1.662 MB / 0.7045 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5528, allocations: 1.021 MB / 0.7055 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.5531, allocations: 86.11 kB / 0.7056 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5533, allocations: 59.42 kB / 0.7057 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5533, allocations: 0 / 0.7057 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.03668/0.59, allocations: 22.27 MB / 0.7274 GB, free: 11.17 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)