Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07757/0.07757, allocations: 12.2 MB / 28.08 MB, free: 0.918 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 117.2 kB / 31.59 MB, free: 4.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 240.1 MB, free: 11.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 180.5 kB / 290.2 MB, free: 15.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4874/0.4874, allocations: 78.5 MB / 418.8 MB, free: 47.12 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 127.8 kB / 499.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1627, allocations: 68.05 MB / 0.5538 GB, free: 340 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.3274/0.4901, allocations: 6.136 MB / 0.5598 GB, free: 39.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003901/0.4941, allocations: 1.736 MB / 0.5615 GB, free: 38.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005541/0.4947, allocations: 14.84 kB / 0.5615 GB, free: 38.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.4953, allocations: 158.1 kB / 0.5617 GB, free: 38.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.4969, allocations: 0.5978 MB / 0.5622 GB, free: 37.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.4982, allocations: 0.523 MB / 0.5628 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.4997, allocations: 1.242 MB / 0.564 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006088/0.5003, allocations: 278 kB / 0.5642 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.5012, allocations: 0.5248 MB / 0.5647 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007526/0.502, allocations: 0.6404 MB / 0.5654 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.5021, allocations: 87.5 kB / 0.5655 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.5027, allocations: 228.7 kB / 0.5657 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.5029, allocations: 247 kB / 0.5659 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.5034, allocations: 0.5453 MB / 0.5664 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.5047, allocations: 1.034 MB / 0.5674 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5047, allocations: 0.8125 kB / 0.5674 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5047, allocations: 0 / 0.5674 GB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.5047, allocations: 5.375 kB / 0.5675 GB, free: 35.32 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007418/0.5122, allocations: 2.35 MB / 0.5697 GB, free: 34.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5122, allocations: 15.2 kB / 0.5698 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004563/0.5168, allocations: 0.7551 MB / 0.5705 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.5177, allocations: 0.7065 MB / 0.5712 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.518, allocations: 258.5 kB / 0.5714 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.5181, allocations: 66.5 kB / 0.5715 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.5199, allocations: 0.9563 MB / 0.5724 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.52, allocations: 4.5 kB / 0.5724 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.52, allocations: 25.81 kB / 0.5725 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.5201, allocations: 14.09 kB / 0.5725 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.522, allocations: 0.9814 MB / 0.5734 GB, free: 32.65 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.004979/0.5269, allocations: 3.169 MB / 0.5765 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.5287, allocations: 1.31 MB / 0.5778 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.53, allocations: 0.704 MB / 0.5785 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.5301, allocations: 8.688 kB / 0.5785 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5301, allocations: 44.53 kB / 0.5785 GB, free: 29.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/0.5301, allocations: 0 / 0.5785 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02497/0.5551, allocations: 6.765 MB / 0.5852 GB, free: 28.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.5552, allocations: 61.25 kB / 0.5852 GB, free: 28.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.5565, allocations: 0.8052 MB / 0.586 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000247/0.5568, allocations: 40.02 kB / 0.586 GB, free: 27.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.5571, allocations: 426.4 kB / 0.5864 GB, free: 27.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.5574, allocations: 295.8 kB / 0.5867 GB, free: 27.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.5578, allocations: 186.5 kB / 0.5869 GB, free: 27.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.5579, allocations: 347.4 kB / 0.5872 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.5592, allocations: 0.6515 MB / 0.5879 GB, free: 26.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.5606, allocations: 0.7698 MB / 0.5886 GB, free: 26.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/0.5785, allocations: 4.506 MB / 0.593 GB, free: 25.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.5785, allocations: 7.125 kB / 0.593 GB, free: 25.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01416/0.5927, allocations: 4.116 MB / 0.5971 GB, free: 24.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5928, allocations: 6.906 kB / 0.5971 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.5928, allocations: 2.469 kB / 0.5971 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006988/0.5998, allocations: 1.792 MB / 0.5988 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.6009, allocations: 170.5 kB / 0.599 GB, free: 23.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02419/0.6251, allocations: 9.336 MB / 0.6081 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.6269, allocations: 154.8 kB / 0.6082 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.6272, allocations: 36.39 kB / 0.6083 GB, free: 19 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007193/0.6279, allocations: 235.9 kB / 0.6085 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.6283, allocations: 103.8 kB / 0.6086 GB, free: 18.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.6411, allocations: 3.834 MB / 0.6123 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.6412, allocations: 7.938 kB / 0.6123 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6412, allocations: 0 / 0.6123 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.6412, allocations: 5.484 kB / 0.6124 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.6551, allocations: 5.346 MB / 0.6176 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.6552, allocations: 7.984 kB / 0.6176 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.6557, allocations: 91.89 kB / 0.6177 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005398/0.6611, allocations: 1.749 MB / 0.6194 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.6614, allocations: 12 kB / 0.6194 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.6784, allocations: 8.076 MB / 0.6273 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6785, allocations: 7.938 kB / 0.6273 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.6931, allocations: 4.712 MB / 0.6319 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.6936, allocations: 191.6 kB / 0.6321 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/0.694, allocations: 8 kB / 0.6321 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.6951, allocations: 95.89 kB / 0.6322 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006993/0.6958, allocations: 196.7 kB / 0.6324 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.6959, allocations: 20 kB / 0.6324 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009027/0.6968, allocations: 0.5421 MB / 0.6329 GB, free: 11.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6968, allocations: 0 / 0.6329 GB, free: 11.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001726/0.6986, allocations: 403.7 kB / 0.6333 GB, free: 11.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0003334/0.6989, allocations: 129.7 kB / 0.6334 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00707/0.706, allocations: 2.356 MB / 0.6357 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.706, allocations: 0 / 0.6357 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004654/0.7107, allocations: 1.515 MB / 0.6372 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.7118, allocations: 80.22 kB / 0.6373 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.7161, allocations: 2.127 MB / 0.6393 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008794/0.717, allocations: 1.029 MB / 0.6403 GB, free: 3.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.7174, allocations: 63.42 kB / 0.6404 GB, free: 3.664 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7174, allocations: 4 kB / 0.6404 GB, free: 3.66 MB / 446.1 MB Notification: Performance of Templates: time 0.02887/0.7462, allocations: 17.75 MB / 0.6578 GB, free: 1.891 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)