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.001283/0.001283, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.419/1.419, allocations: 223.3 MB / 239.4 MB, free: 5.438 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.001036/0.001036, allocations: 180.5 kB / 290.6 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5352/0.5352, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004188, allocations: 16 kB / 0.5048 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3619, allocations: 72.46 MB / 0.5755 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.003957/0.3659, allocations: 5.609 MB / 0.581 GB, free: 33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.3688, allocations: 1.761 MB / 0.5827 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.3692, allocations: 10.41 kB / 0.5827 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.3696, allocations: 157.5 kB / 0.5829 GB, free: 31.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.3709, allocations: 0.5943 MB / 0.5835 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000945/0.3719, allocations: 0.525 MB / 0.584 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.3728, allocations: 1.177 MB / 0.5851 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.3731, allocations: 239.5 kB / 0.5854 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.3736, allocations: 463.3 kB / 0.5858 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.374, allocations: 0.5757 MB / 0.5864 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.3741, allocations: 47.31 kB / 0.5864 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.3745, allocations: 178.8 kB / 0.5866 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3746, allocations: 199.1 kB / 0.5868 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.3749, allocations: 0.5186 MB / 0.5873 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.3758, allocations: 1.258 MB / 0.5885 GB, free: 28.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3758, allocations: 0 / 0.5885 GB, free: 28.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3758, allocations: 0 / 0.5885 GB, free: 28.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3758, allocations: 0 / 0.5885 GB, free: 28.86 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.006887/0.3827, allocations: 2.18 MB / 0.5906 GB, free: 27.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3828, allocations: 9.625 kB / 0.5906 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/0.3878, allocations: 0.764 MB / 0.5914 GB, free: 27.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3888, allocations: 0.6913 MB / 0.5921 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.389, allocations: 260 kB / 0.5923 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3892, allocations: 76.8 kB / 0.5924 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.3912, allocations: 1.008 MB / 0.5934 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3912, allocations: 7.938 kB / 0.5934 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.3913, allocations: 32.77 kB / 0.5934 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3913, allocations: 16.5 kB / 0.5934 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.3934, allocations: 1.055 MB / 0.5944 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.004858/0.3983, allocations: 3.209 MB / 0.5976 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.4004, allocations: 1.401 MB / 0.5989 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.4019, allocations: 0.7694 MB / 0.5997 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.402, allocations: 16.33 kB / 0.5997 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.402, allocations: 41.97 kB / 0.5998 GB, free: 23.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.305e-06/0.402, allocations: 0 / 0.5998 GB, free: 23.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.03109/0.4331, allocations: 8.32 MB / 0.6079 GB, free: 21.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4332, allocations: 60.06 kB / 0.6079 GB, free: 21.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4343, allocations: 0.7876 MB / 0.6087 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.4345, allocations: 41.77 kB / 0.6087 GB, free: 21.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.4348, allocations: 429.2 kB / 0.6092 GB, free: 21.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.4351, allocations: 291.5 kB / 0.6094 GB, free: 20.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4352, allocations: 94.36 kB / 0.6095 GB, free: 20.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.4353, allocations: 346.9 kB / 0.6099 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.437, allocations: 0.713 MB / 0.6106 GB, free: 20.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.4386, allocations: 0.8416 MB / 0.6114 GB, free: 19.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01961/0.4582, allocations: 4.943 MB / 0.6162 GB, free: 18.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4583, allocations: 1.25 kB / 0.6162 GB, free: 18.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01461/0.4729, allocations: 4.952 MB / 0.621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.473, allocations: 11.98 kB / 0.621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.473, allocations: 0 / 0.621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/0.4795, allocations: 2.175 MB / 0.6232 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.4804, allocations: 167.7 kB / 0.6233 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.4998, allocations: 9.361 MB / 0.6325 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.5014, allocations: 183.1 kB / 0.6326 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.5016, allocations: 36 kB / 0.6327 GB, free: 2.566 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.0005726/0.5022, allocations: 233.6 kB / 0.6329 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.5025, allocations: 102.7 kB / 0.633 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/0.5169, allocations: 4.731 MB / 0.6376 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.517, allocations: 15.88 kB / 0.6376 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.517, allocations: 0 / 0.6376 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.517, allocations: 7.922 kB / 0.6376 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.534, allocations: 6.231 MB / 0.6437 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.5341, allocations: 0 / 0.6437 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.5347, allocations: 99.83 kB / 0.6438 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006869/0.5416, allocations: 2.05 MB / 0.6458 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.5418, allocations: 12 kB / 0.6458 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/0.5624, allocations: 8.229 MB / 0.6539 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5624, allocations: 0 / 0.6539 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.5795, allocations: 5.676 MB / 0.6594 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/0.58, allocations: 187.7 kB / 0.6596 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.5804, allocations: 12 kB / 0.6596 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.5816, allocations: 128 kB / 0.6597 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007198/0.5824, allocations: 204.6 kB / 0.6599 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/0.5825, allocations: 16 kB / 0.6599 GB, free: 6.301 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008067/0.5833, allocations: 0.5342 MB / 0.6605 GB, free: 5.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5833, allocations: 0 / 0.6605 GB, free: 5.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001385/0.5847, allocations: 407.5 kB / 0.6609 GB, free: 5.371 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.0002605/0.585, allocations: 119.2 kB / 0.661 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007128/0.5921, allocations: 2.565 MB / 0.6635 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5921, allocations: 0.5625 kB / 0.6635 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005101/0.5972, allocations: 1.689 MB / 0.6651 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00086/0.5981, allocations: 81.48 kB / 0.6652 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.6014, allocations: 2.058 MB / 0.6672 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.602, allocations: 1.029 MB / 0.6682 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.6023, allocations: 78.19 kB / 0.6683 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.6025, allocations: 55.42 kB / 0.6683 GB, free: 13.62 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6025, allocations: 0 / 0.6683 GB, free: 13.62 MB / 478.1 MB Notification: Performance of Templates: time 0.03104/0.6335, allocations: 19.36 MB / 0.6872 GB, free: 10.27 MB / 494.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)