Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.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 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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009046/0.0009047, allocations: 171.2 kB / 15.42 MB, free: 6.211 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.449/1.449, allocations: 222.9 MB / 239 MB, free: 1.777 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.0007533/0.0007533, allocations: 101.7 kB / 289.8 MB, free: 14.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4792/0.4792, allocations: 78.42 MB / 419 MB, free: 44.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003515, allocations: 8 kB / 498.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3908, allocations: 68.74 MB / 0.5539 GB, free: 39.97 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005944/0.3967, allocations: 6.029 MB / 0.5598 GB, free: 37.74 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.4005, allocations: 1.774 MB / 0.5615 GB, free: 37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.4017, allocations: 16.06 kB / 0.5615 GB, free: 36.99 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.4023, allocations: 153 kB / 0.5617 GB, free: 36.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.4047, allocations: 0.6191 MB / 0.5623 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.4062, allocations: 0.517 MB / 0.5628 GB, free: 36.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.4081, allocations: 1.163 MB / 0.5639 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.4086, allocations: 232.7 kB / 0.5641 GB, free: 36.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4096, allocations: 476.3 kB / 0.5646 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.4103, allocations: 0.5786 MB / 0.5651 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4105, allocations: 46.53 kB / 0.5652 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.411, allocations: 179.2 kB / 0.5654 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.4112, allocations: 195 kB / 0.5655 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.4118, allocations: 497.5 kB / 0.566 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.413, allocations: 1.266 MB / 0.5673 GB, free: 35.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.413, allocations: 1.469 kB / 0.5673 GB, free: 35.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.413, allocations: 3.938 kB / 0.5673 GB, free: 35.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.4131, allocations: 4 kB / 0.5673 GB, free: 35.2 MB / 426.7 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.006486/0.4195, allocations: 2.127 MB / 0.5693 GB, free: 34.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4196, allocations: 7.844 kB / 0.5694 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.4245, allocations: 0.7541 MB / 0.5701 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4255, allocations: 0.6957 MB / 0.5708 GB, free: 33.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.4258, allocations: 253.7 kB / 0.571 GB, free: 33.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4259, allocations: 67.69 kB / 0.5711 GB, free: 33.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.4276, allocations: 0.9447 MB / 0.572 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4277, allocations: 3.938 kB / 0.572 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.4277, allocations: 25.91 kB / 0.572 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4278, allocations: 15.03 kB / 0.572 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.4296, allocations: 0.968 MB / 0.573 GB, free: 32.7 MB / 426.7 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.00464/0.4342, allocations: 3.156 MB / 0.5761 GB, free: 30.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.436, allocations: 1.316 MB / 0.5774 GB, free: 29.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.4372, allocations: 0.6959 MB / 0.578 GB, free: 29.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.4373, allocations: 16.61 kB / 0.578 GB, free: 29.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4373, allocations: 44.36 kB / 0.5781 GB, free: 29.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.966e-06/0.4374, allocations: 0 / 0.5781 GB, free: 29.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02435/0.4617, allocations: 6.691 MB / 0.5846 GB, free: 28.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.4618, allocations: 64.62 kB / 0.5847 GB, free: 28.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.4628, allocations: 0.7947 MB / 0.5855 GB, free: 28.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.463, allocations: 40.73 kB / 0.5855 GB, free: 27.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.4632, allocations: 429.5 kB / 0.5859 GB, free: 27.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.4635, allocations: 290.6 kB / 0.5862 GB, free: 27.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4636, allocations: 94.27 kB / 0.5863 GB, free: 27.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.4637, allocations: 341.5 kB / 0.5866 GB, free: 27.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.465, allocations: 0.6456 MB / 0.5872 GB, free: 26.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.4663, allocations: 0.7634 MB / 0.588 GB, free: 26.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/0.4833, allocations: 4.443 MB / 0.5923 GB, free: 25.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4833, allocations: 1.812 kB / 0.5923 GB, free: 25.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01335/0.4967, allocations: 4.034 MB / 0.5963 GB, free: 24.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.4968, allocations: 6.031 kB / 0.5963 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4968, allocations: 3.531 kB / 0.5963 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006438/0.5032, allocations: 1.858 MB / 0.5981 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/0.5042, allocations: 162.6 kB / 0.5982 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.5236, allocations: 8.375 MB / 0.6064 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.5251, allocations: 150.9 kB / 0.6066 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.5252, allocations: 40.17 kB / 0.6066 GB, free: 19.09 MB / 426.7 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.0004413/0.5257, allocations: 225.7 kB / 0.6068 GB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.5258, allocations: 103.2 kB / 0.6069 GB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.537, allocations: 3.815 MB / 0.6106 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.5371, allocations: 12.66 kB / 0.6107 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5371, allocations: 0 / 0.6107 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.5371, allocations: 3.984 kB / 0.6107 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.5494, allocations: 5.327 MB / 0.6159 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5494, allocations: 0 / 0.6159 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.5499, allocations: 87.89 kB / 0.6159 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005117/0.555, allocations: 1.741 MB / 0.6176 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.5552, allocations: 19.98 kB / 0.6177 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.5697, allocations: 7.358 MB / 0.6248 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5697, allocations: 4 kB / 0.6248 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.5829, allocations: 4.692 MB / 0.6294 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/0.5835, allocations: 183.7 kB / 0.6296 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.5836, allocations: 12 kB / 0.6296 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.5845, allocations: 95.95 kB / 0.6297 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006609/0.5852, allocations: 192.7 kB / 0.6299 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.5852, allocations: 23.98 kB / 0.6299 GB, free: 13.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006829/0.5859, allocations: 0.5264 MB / 0.6304 GB, free: 12.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5859, allocations: 4 kB / 0.6304 GB, free: 12.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001482/0.5874, allocations: 399.5 kB / 0.6308 GB, free: 12.1 MB / 442.7 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.0002669/0.5877, allocations: 127.1 kB / 0.6309 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006576/0.5943, allocations: 2.246 MB / 0.6331 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5943, allocations: 4.562 kB / 0.6331 GB, free: 9.703 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004401/0.5987, allocations: 1.454 MB / 0.6346 GB, free: 8.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.5997, allocations: 76.56 kB / 0.6346 GB, free: 8.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.603, allocations: 2.023 MB / 0.6366 GB, free: 6.129 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.6037, allocations: 1.021 MB / 0.6376 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003661/0.6041, allocations: 74.2 kB / 0.6377 GB, free: 5.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.6043, allocations: 51.42 kB / 0.6377 GB, free: 4.957 MB / 442.7 MB Notification: Performance of SimCode: time 1.512e-06/0.6043, allocations: 0 / 0.6377 GB, free: 4.957 MB / 442.7 MB Notification: Performance of Templates: time 0.03213/0.6365, allocations: 19.36 MB / 0.6566 GB, free: 1.602 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)