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.001036/0.001036, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.341/1.341, allocations: 222.9 MB / 239.6 MB, free: 4.742 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.001301/0.001301, allocations: 188.4 kB / 289.9 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4412/0.4412, allocations: 78.52 MB / 418.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 71.89 kB / 497.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 68.17 MB / 0.5525 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2435/0.383, allocations: 6.025 MB / 0.5584 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.3868, allocations: 1.764 MB / 0.5601 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006298/0.3875, allocations: 11.28 kB / 0.5601 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.388, allocations: 156.9 kB / 0.5603 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.3895, allocations: 0.6 MB / 0.5609 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3906, allocations: 0.5177 MB / 0.5614 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.3918, allocations: 1.219 MB / 0.5625 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.3922, allocations: 272.3 kB / 0.5628 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.3928, allocations: 0.5146 MB / 0.5633 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.3933, allocations: 0.6382 MB / 0.5639 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3934, allocations: 88.03 kB / 0.564 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.3938, allocations: 224.6 kB / 0.5642 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.394, allocations: 239 kB / 0.5645 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.3943, allocations: 0.5374 MB / 0.565 GB, free: 35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.3952, allocations: 1.027 MB / 0.566 GB, free: 34.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3952, allocations: 3.688 kB / 0.566 GB, free: 34.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3952, allocations: 3.938 kB / 0.566 GB, free: 34.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3952, allocations: 3.094 kB / 0.566 GB, free: 34.84 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.00671/0.4019, allocations: 2.328 MB / 0.5683 GB, free: 34.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.402, allocations: 7.75 kB / 0.5683 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.4066, allocations: 0.759 MB / 0.569 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4077, allocations: 0.6935 MB / 0.5697 GB, free: 33.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.4079, allocations: 250.6 kB / 0.5699 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.4081, allocations: 67.2 kB / 0.57 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.41, allocations: 0.9419 MB / 0.5709 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.41, allocations: 4.438 kB / 0.5709 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.4101, allocations: 32.75 kB / 0.571 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4101, allocations: 17.84 kB / 0.571 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.4119, allocations: 0.9698 MB / 0.5719 GB, free: 33.35 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.004901/0.4169, allocations: 3.148 MB / 0.575 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4186, allocations: 1.317 MB / 0.5763 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.4198, allocations: 0.6967 MB / 0.577 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.4199, allocations: 13.39 kB / 0.577 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.42, allocations: 42.19 kB / 0.577 GB, free: 31.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.516e-06/0.42, allocations: 4 kB / 0.577 GB, free: 31.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02497/0.445, allocations: 6.692 MB / 0.5836 GB, free: 30.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.445, allocations: 59.53 kB / 0.5836 GB, free: 30.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4462, allocations: 0.7972 MB / 0.5844 GB, free: 30.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.4465, allocations: 36.52 kB / 0.5844 GB, free: 30.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.4468, allocations: 427.9 kB / 0.5848 GB, free: 29.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.4471, allocations: 294.1 kB / 0.5851 GB, free: 29.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.4474, allocations: 173.6 kB / 0.5853 GB, free: 29.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.4475, allocations: 347.3 kB / 0.5856 GB, free: 29.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.449, allocations: 0.6421 MB / 0.5862 GB, free: 28.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4505, allocations: 0.7612 MB / 0.587 GB, free: 28.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/0.4687, allocations: 4.462 MB / 0.5913 GB, free: 27.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.4687, allocations: 1.062 kB / 0.5913 GB, free: 27.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01344/0.4822, allocations: 4.038 MB / 0.5953 GB, free: 26.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.4822, allocations: 6.25 kB / 0.5953 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.4823, allocations: 2.531 kB / 0.5953 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00654/0.4888, allocations: 1.87 MB / 0.5971 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.4898, allocations: 163 kB / 0.5973 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/0.5127, allocations: 9.098 MB / 0.6062 GB, free: 21.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.5143, allocations: 154.8 kB / 0.6063 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.5145, allocations: 36.34 kB / 0.6063 GB, free: 21.63 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.0006604/0.5152, allocations: 231 kB / 0.6066 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.5156, allocations: 99.08 kB / 0.6067 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.5281, allocations: 3.824 MB / 0.6104 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.5282, allocations: 8.219 kB / 0.6104 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5282, allocations: 1.188 kB / 0.6104 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.5282, allocations: 3.984 kB / 0.6104 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.5423, allocations: 5.327 MB / 0.6156 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5423, allocations: 4 kB / 0.6156 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.5429, allocations: 87.89 kB / 0.6157 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/0.5482, allocations: 1.748 MB / 0.6174 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.5484, allocations: 16.92 kB / 0.6174 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/0.5649, allocations: 8.087 MB / 0.6253 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.565, allocations: 0.7031 kB / 0.6253 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.5779, allocations: 4.684 MB / 0.6299 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.5784, allocations: 187.7 kB / 0.6301 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.5788, allocations: 15.94 kB / 0.6301 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5799, allocations: 92.89 kB / 0.6302 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007483/0.5807, allocations: 197.7 kB / 0.6304 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.5808, allocations: 20 kB / 0.6304 GB, free: 15.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008819/0.5817, allocations: 0.5342 MB / 0.6309 GB, free: 14.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5817, allocations: 0 / 0.6309 GB, free: 14.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001799/0.5835, allocations: 403.5 kB / 0.6313 GB, free: 14.16 MB / 446.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.0003367/0.5838, allocations: 115.2 kB / 0.6314 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007173/0.591, allocations: 2.332 MB / 0.6337 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.5911, allocations: 0 / 0.6337 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.5959, allocations: 1.502 MB / 0.6351 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5971, allocations: 80 kB / 0.6352 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.6013, allocations: 2.058 MB / 0.6372 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.602, allocations: 1.029 MB / 0.6382 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.6024, allocations: 59.42 kB / 0.6383 GB, free: 6.926 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6024, allocations: 0 / 0.6383 GB, free: 6.926 MB / 446.1 MB Notification: Performance of Templates: time 0.02716/0.6296, allocations: 17.58 MB / 0.6554 GB, free: 5.496 MB / 462.1 MB 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)