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-master/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-master/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-master/package.mo): time 0.07655/0.07655, allocations: 12.61 MB / 28.87 MB, free: 0.6484 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.001064/0.001064, allocations: 119.4 kB / 32.46 MB, free: 3.598 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.327/1.327, allocations: 205.1 MB / 241.1 MB, free: 12.4 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.001164/0.001164, allocations: 184.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4263/0.4263, allocations: 78.51 MB / 419.9 MB, free: 11.3 MB / 302.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.003947/0.003947, allocations: 143.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3429, allocations: 68.11 MB / 0.556 GB, free: 32.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005621/0.3485, allocations: 5.797 MB / 0.5617 GB, free: 28.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.3515, allocations: 1.701 MB / 0.5633 GB, free: 27.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.352, allocations: 8.25 kB / 0.5633 GB, free: 27.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.3525, allocations: 207 kB / 0.5635 GB, free: 27.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.3538, allocations: 0.6857 MB / 0.5642 GB, free: 26.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3548, allocations: 0.5593 MB / 0.5647 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3559, allocations: 1.247 MB / 0.566 GB, free: 25.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.3563, allocations: 281.8 kB / 0.5662 GB, free: 25.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.3569, allocations: 0.5247 MB / 0.5667 GB, free: 24.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.3575, allocations: 0.642 MB / 0.5674 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.3576, allocations: 87.66 kB / 0.5675 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.358, allocations: 228.7 kB / 0.5677 GB, free: 24.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3582, allocations: 243.1 kB / 0.5679 GB, free: 24.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.3586, allocations: 0.5416 MB / 0.5684 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.3597, allocations: 1.357 MB / 0.5698 GB, free: 22.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3597, allocations: 0 / 0.5698 GB, free: 22.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3597, allocations: 1.312 kB / 0.5698 GB, free: 22.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.3597, allocations: 0 / 0.5698 GB, free: 22.82 MB / 398.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.00721/0.367, allocations: 2.356 MB / 0.5721 GB, free: 21.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.367, allocations: 13.48 kB / 0.5721 GB, free: 21.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.372, allocations: 0.756 MB / 0.5728 GB, free: 21.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.373, allocations: 0.7124 MB / 0.5735 GB, free: 20.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.3733, allocations: 250.3 kB / 0.5737 GB, free: 20.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3734, allocations: 65.03 kB / 0.5738 GB, free: 20.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.3753, allocations: 0.9581 MB / 0.5747 GB, free: 19.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3753, allocations: 3.938 kB / 0.5747 GB, free: 19.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.3754, allocations: 29.05 kB / 0.5748 GB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3754, allocations: 16.22 kB / 0.5748 GB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.3774, allocations: 0.9748 MB / 0.5757 GB, free: 19.04 MB / 398.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.004327/0.3817, allocations: 3.15 MB / 0.5788 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3833, allocations: 1.304 MB / 0.5801 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3845, allocations: 0.7038 MB / 0.5808 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.3846, allocations: 20.64 kB / 0.5808 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3846, allocations: 43.22 kB / 0.5808 GB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.244e-06/0.3846, allocations: 0 / 0.5808 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.0232/0.4078, allocations: 6.747 MB / 0.5874 GB, free: 6.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4079, allocations: 68.05 kB / 0.5875 GB, free: 6.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.4088, allocations: 0.7986 MB / 0.5883 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4089, allocations: 45.64 kB / 0.5883 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.4092, allocations: 436.4 kB / 0.5887 GB, free: 5.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.4094, allocations: 291.8 kB / 0.589 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004799/0.4099, allocations: 182.8 kB / 0.5892 GB, free: 4.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.41, allocations: 341.9 kB / 0.5895 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.4113, allocations: 0.6545 MB / 0.5902 GB, free: 3.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.4126, allocations: 0.7756 MB / 0.5909 GB, free: 3.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/0.4289, allocations: 4.5 MB / 0.5953 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.4289, allocations: 0 / 0.5953 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01322/0.4421, allocations: 4.113 MB / 0.5993 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4422, allocations: 4 kB / 0.5993 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4422, allocations: 4 kB / 0.5993 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006045/0.4482, allocations: 1.792 MB / 0.6011 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.4491, allocations: 163.7 kB / 0.6012 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.4705, allocations: 9.317 MB / 0.6103 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4722, allocations: 155 kB / 0.6105 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4724, allocations: 35.98 kB / 0.6105 GB, free: 14.8 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.0005028/0.4729, allocations: 229.6 kB / 0.6107 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.4732, allocations: 98.78 kB / 0.6108 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.4856, allocations: 3.833 MB / 0.6146 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/0.4857, allocations: 12 kB / 0.6146 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4857, allocations: 0 / 0.6146 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.4858, allocations: 3.984 kB / 0.6146 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.5012, allocations: 5.353 MB / 0.6198 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5012, allocations: 4 kB / 0.6198 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.5017, allocations: 87.89 kB / 0.6199 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005965/0.5077, allocations: 1.741 MB / 0.6216 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.5079, allocations: 16 kB / 0.6216 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.5271, allocations: 8.064 MB / 0.6295 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5271, allocations: 7.922 kB / 0.6295 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.5415, allocations: 4.712 MB / 0.6341 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.542, allocations: 191.7 kB / 0.6343 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.5422, allocations: 19.94 kB / 0.6343 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.5433, allocations: 87.89 kB / 0.6344 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006676/0.544, allocations: 200.7 kB / 0.6346 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/0.5441, allocations: 20 kB / 0.6346 GB, free: 5.773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007046/0.5448, allocations: 0.5343 MB / 0.6351 GB, free: 5.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5448, allocations: 4 kB / 0.6351 GB, free: 5.223 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001341/0.5462, allocations: 411.6 kB / 0.6355 GB, free: 4.82 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.0002858/0.5465, allocations: 123.5 kB / 0.6356 GB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006303/0.5528, allocations: 2.334 MB / 0.6379 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5528, allocations: 0.5625 kB / 0.6379 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004516/0.5573, allocations: 1.507 MB / 0.6394 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008159/0.5582, allocations: 90.03 kB / 0.6395 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.5616, allocations: 1.718 MB / 0.6412 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.5622, allocations: 1.029 MB / 0.6422 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000275/0.5624, allocations: 74.19 kB / 0.6422 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.5626, allocations: 59.42 kB / 0.6423 GB, free: 13.81 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5627, allocations: 4 kB / 0.6423 GB, free: 13.81 MB / 462.1 MB Notification: Performance of Templates: time 0.03577/0.5984, allocations: 22.4 MB / 0.6642 GB, free: 7.418 MB / 478.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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)