Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08106/0.08106, allocations: 12.2 MB / 28.08 MB, free: 0.6914 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.001111/0.001112, allocations: 119.5 kB / 31.6 MB, free: 4.113 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.463/1.463, allocations: 205.1 MB / 240.1 MB, free: 11.58 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.001425/0.001426, allocations: 188.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.5079/0.5079, allocations: 78.51 MB / 418.8 MB, free: 47.14 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.002348/0.002348, allocations: 131.8 kB / 499.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1624, allocations: 68.04 MB / 0.5538 GB, free: 364 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2942/0.4566, allocations: 6.821 MB / 0.5605 GB, free: 38.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.4609, allocations: 1.863 MB / 0.5623 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.4617, allocations: 11.72 kB / 0.5623 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006698/0.4625, allocations: 172.6 kB / 0.5625 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.4643, allocations: 0.62 MB / 0.5631 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.4659, allocations: 0.5711 MB / 0.5636 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.4678, allocations: 1.401 MB / 0.565 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.4684, allocations: 339.1 kB / 0.5653 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009659/0.4694, allocations: 0.5907 MB / 0.5659 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.4704, allocations: 0.7287 MB / 0.5666 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.4706, allocations: 106.1 kB / 0.5667 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.4714, allocations: 237.9 kB / 0.5669 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.4717, allocations: 284 kB / 0.5672 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006621/0.4724, allocations: 0.6272 MB / 0.5678 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.4738, allocations: 1.144 MB / 0.5689 GB, free: 34.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4739, allocations: 1.125 kB / 0.5689 GB, free: 34.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4739, allocations: 0 / 0.5689 GB, free: 34.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.4739, allocations: 0 / 0.5689 GB, free: 34.27 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00832/0.4822, allocations: 2.567 MB / 0.5714 GB, free: 33.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.4823, allocations: 12.45 kB / 0.5715 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/0.4872, allocations: 0.7785 MB / 0.5722 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.4882, allocations: 0.7691 MB / 0.573 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.4885, allocations: 261.2 kB / 0.5732 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.4886, allocations: 75.53 kB / 0.5733 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.4907, allocations: 1.078 MB / 0.5743 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4908, allocations: 7.875 kB / 0.5743 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.4909, allocations: 30.06 kB / 0.5744 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.4909, allocations: 21.47 kB / 0.5744 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.493, allocations: 1.117 MB / 0.5755 GB, free: 31.36 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.00509/0.4981, allocations: 3.467 MB / 0.5789 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.5, allocations: 1.429 MB / 0.5803 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.5014, allocations: 0.7813 MB / 0.581 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.5015, allocations: 16.95 kB / 0.581 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.5016, allocations: 45.5 kB / 0.5811 GB, free: 28.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/0.5016, allocations: 4 kB / 0.5811 GB, free: 28.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02466/0.5262, allocations: 6.609 MB / 0.5875 GB, free: 26.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.5264, allocations: 60.28 kB / 0.5876 GB, free: 26.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.5281, allocations: 0.899 MB / 0.5885 GB, free: 26.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.5285, allocations: 43.86 kB / 0.5885 GB, free: 26.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.5289, allocations: 0.4889 MB / 0.589 GB, free: 25.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.5293, allocations: 340.2 kB / 0.5893 GB, free: 25.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.5298, allocations: 212.5 kB / 0.5895 GB, free: 25.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5299, allocations: 350 kB / 0.5899 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.5314, allocations: 0.7173 MB / 0.5906 GB, free: 25.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.5329, allocations: 0.847 MB / 0.5914 GB, free: 24.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01987/0.5528, allocations: 4.843 MB / 0.5961 GB, free: 23.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.5529, allocations: 0 / 0.5961 GB, free: 23.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01498/0.5679, allocations: 4.273 MB / 0.6003 GB, free: 22.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.568, allocations: 7.469 kB / 0.6003 GB, free: 22.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.568, allocations: 6.688 kB / 0.6003 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006938/0.5749, allocations: 1.815 MB / 0.6021 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.5762, allocations: 206.9 kB / 0.6023 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/0.5989, allocations: 9.337 MB / 0.6114 GB, free: 16.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.6007, allocations: 169.2 kB / 0.6116 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6009, allocations: 43.48 kB / 0.6116 GB, free: 16.76 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0005934/0.6015, allocations: 250.3 kB / 0.6118 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.6017, allocations: 119.3 kB / 0.612 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.6142, allocations: 4.02 MB / 0.6159 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.6142, allocations: 8 kB / 0.6159 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6142, allocations: 0 / 0.6159 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.6143, allocations: 11.97 kB / 0.6159 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.628, allocations: 5.62 MB / 0.6214 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.628, allocations: 0 / 0.6214 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.6288, allocations: 131.9 kB / 0.6215 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005288/0.6341, allocations: 1.749 MB / 0.6232 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/0.6343, allocations: 19.98 kB / 0.6232 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.6514, allocations: 8.085 MB / 0.6311 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6515, allocations: 0.5469 kB / 0.6311 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/0.6669, allocations: 4.961 MB / 0.636 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.6675, allocations: 199.4 kB / 0.6362 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.6678, allocations: 16.09 kB / 0.6362 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6688, allocations: 119.8 kB / 0.6363 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007883/0.6696, allocations: 224.6 kB / 0.6365 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.6697, allocations: 24 kB / 0.6365 GB, free: 7.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007979/0.6705, allocations: 0.6047 MB / 0.6371 GB, free: 6.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6705, allocations: 0 / 0.6371 GB, free: 6.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001469/0.672, allocations: 439.5 kB / 0.6375 GB, free: 6.547 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.0003137/0.6723, allocations: 128.3 kB / 0.6377 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007568/0.6799, allocations: 2.521 MB / 0.6401 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.68, allocations: 0 / 0.6401 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004958/0.6849, allocations: 1.611 MB / 0.6417 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.686, allocations: 88.42 kB / 0.6418 GB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.6906, allocations: 2.481 MB / 0.6442 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.6913, allocations: 1.099 MB / 0.6453 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/0.6917, allocations: 71.42 kB / 0.6453 GB, free: 14.49 MB / 462.1 MB Notification: Performance of SimCode: time 2.665e-06/0.6917, allocations: 0 / 0.6453 GB, free: 14.49 MB / 462.1 MB Notification: Performance of Templates: time 0.03038/0.7221, allocations: 20.11 MB / 0.665 GB, free: 10.38 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)