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.001387/0.001387, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.332/1.332, allocations: 222.9 MB / 239 MB, free: 4.602 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.001332/0.001332, allocations: 196.5 kB / 289.3 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5084/0.5084, allocations: 91.89 MB / 431.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 83.88 kB / 0.5014 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 71.26 MB / 0.571 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004723/0.3009, allocations: 6.049 MB / 0.5769 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3036, allocations: 1.77 MB / 0.5786 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.3039, allocations: 13.41 kB / 0.5786 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.3043, allocations: 159.9 kB / 0.5788 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.3056, allocations: 0.5974 MB / 0.5794 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.3064, allocations: 0.5176 MB / 0.5799 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.3072, allocations: 1.225 MB / 0.5811 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.3076, allocations: 270.6 kB / 0.5813 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.308, allocations: 0.5168 MB / 0.5818 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.3085, allocations: 0.6439 MB / 0.5825 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3087, allocations: 89.66 kB / 0.5825 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.309, allocations: 223.1 kB / 0.5828 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3091, allocations: 230.6 kB / 0.583 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.3094, allocations: 0.5485 MB / 0.5835 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000845/0.3103, allocations: 1.317 MB / 0.5848 GB, free: 28.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3103, allocations: 0 / 0.5848 GB, free: 28.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3103, allocations: 2.594 kB / 0.5848 GB, free: 28.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3103, allocations: 3.938 kB / 0.5848 GB, free: 28.75 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.006556/0.3169, allocations: 2.328 MB / 0.5871 GB, free: 27.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3169, allocations: 12.56 kB / 0.5871 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/0.3218, allocations: 0.7619 MB / 0.5878 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009577/0.3228, allocations: 0.7 MB / 0.5885 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.3231, allocations: 249.8 kB / 0.5888 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3232, allocations: 64 kB / 0.5888 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.3251, allocations: 0.9424 MB / 0.5897 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3252, allocations: 5.094 kB / 0.5897 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.3253, allocations: 25.62 kB / 0.5898 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3253, allocations: 15.47 kB / 0.5898 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.3272, allocations: 0.9719 MB / 0.5907 GB, free: 26.12 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.004698/0.3319, allocations: 3.149 MB / 0.5938 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.3337, allocations: 1.314 MB / 0.5951 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.335, allocations: 0.7017 MB / 0.5958 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3351, allocations: 20.61 kB / 0.5958 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3352, allocations: 38.44 kB / 0.5958 GB, free: 23.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.885e-06/0.3352, allocations: 0 / 0.5958 GB, free: 23.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02641/0.3616, allocations: 6.693 MB / 0.6024 GB, free: 21.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3617, allocations: 58.94 kB / 0.6024 GB, free: 21.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3627, allocations: 0.792 MB / 0.6032 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.3629, allocations: 44.14 kB / 0.6032 GB, free: 21.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.3631, allocations: 425.9 kB / 0.6036 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.3634, allocations: 289 kB / 0.6039 GB, free: 20.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.3637, allocations: 178.5 kB / 0.6041 GB, free: 20.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.3638, allocations: 343.5 kB / 0.6044 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.3652, allocations: 0.6402 MB / 0.605 GB, free: 20.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.3666, allocations: 0.7592 MB / 0.6058 GB, free: 19.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/0.384, allocations: 4.468 MB / 0.6101 GB, free: 18.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.384, allocations: 1.125 kB / 0.6101 GB, free: 18.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01271/0.3967, allocations: 4.04 MB / 0.6141 GB, free: 17.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3968, allocations: 5.75 kB / 0.6141 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3968, allocations: 2.531 kB / 0.6141 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/0.4027, allocations: 1.87 MB / 0.6159 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.4035, allocations: 159.8 kB / 0.6161 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.4217, allocations: 9.103 MB / 0.625 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4232, allocations: 155 kB / 0.6251 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4233, allocations: 35.98 kB / 0.6251 GB, free: 6.688 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.0003891/0.4237, allocations: 237 kB / 0.6254 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4238, allocations: 98.78 kB / 0.6255 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.4349, allocations: 3.821 MB / 0.6292 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.435, allocations: 8 kB / 0.6292 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.435, allocations: 0 / 0.6292 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.435, allocations: 7.984 kB / 0.6292 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.4487, allocations: 5.324 MB / 0.6344 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4487, allocations: 4 kB / 0.6344 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.4492, allocations: 83.89 kB / 0.6345 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005875/0.4551, allocations: 1.753 MB / 0.6362 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/0.4552, allocations: 8 kB / 0.6362 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.4734, allocations: 8.099 MB / 0.6441 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4735, allocations: 0 / 0.6441 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.4878, allocations: 4.684 MB / 0.6487 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.4882, allocations: 183.7 kB / 0.6489 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.4885, allocations: 19.94 kB / 0.6489 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.4896, allocations: 91.95 kB / 0.649 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006721/0.4903, allocations: 200.7 kB / 0.6492 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.4904, allocations: 16 kB / 0.6492 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.4911, allocations: 0.5303 MB / 0.6497 GB, free: 13.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4911, allocations: 0 / 0.6497 GB, free: 13.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4926, allocations: 403.5 kB / 0.6501 GB, free: 12.78 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.0002897/0.4929, allocations: 131.1 kB / 0.6502 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.4998, allocations: 2.323 MB / 0.6525 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4998, allocations: 3.938 kB / 0.6525 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004787/0.5046, allocations: 1.499 MB / 0.654 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.5057, allocations: 75.31 kB / 0.654 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.5094, allocations: 2.017 MB / 0.656 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.5101, allocations: 1.025 MB / 0.657 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.5104, allocations: 78.12 kB / 0.6571 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.5106, allocations: 59.42 kB / 0.6571 GB, free: 5.492 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5106, allocations: 4 kB / 0.6571 GB, free: 5.488 MB / 462.1 MB Notification: Performance of Templates: time 0.03416/0.5448, allocations: 21.06 MB / 0.6777 GB, free: 440 kB / 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)