Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.605 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.001153/0.001153, allocations: 188.5 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4119/0.4119, allocations: 78.52 MB / 418.9 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 79.89 kB / 498.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 68.18 MB / 0.553 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.1764/0.2854, allocations: 5.74 MB / 0.5586 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2879, allocations: 1.735 MB / 0.5603 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.2882, allocations: 10.16 kB / 0.5603 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.2887, allocations: 203.8 kB / 0.5605 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.2899, allocations: 0.6838 MB / 0.5612 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.2908, allocations: 0.5548 MB / 0.5617 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000852/0.2916, allocations: 1.242 MB / 0.563 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.292, allocations: 273.8 kB / 0.5632 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.2924, allocations: 0.5205 MB / 0.5637 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.2928, allocations: 0.6493 MB / 0.5644 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.293, allocations: 87.53 kB / 0.5644 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.2933, allocations: 218.4 kB / 0.5646 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.2934, allocations: 248.1 kB / 0.5649 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.2938, allocations: 0.5397 MB / 0.5654 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008826/0.2946, allocations: 1.345 MB / 0.5667 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2947, allocations: 1.031 kB / 0.5667 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2947, allocations: 0 / 0.5667 GB, free: 34.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2947, allocations: 2.438 kB / 0.5667 GB, free: 34.7 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.006457/0.3011, allocations: 2.351 MB / 0.569 GB, free: 33.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3012, allocations: 14.03 kB / 0.569 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/0.3056, allocations: 0.7546 MB / 0.5698 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.3064, allocations: 0.707 MB / 0.5705 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.3066, allocations: 253.1 kB / 0.5707 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.3067, allocations: 68.44 kB / 0.5708 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3083, allocations: 0.9506 MB / 0.5717 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3084, allocations: 10.56 kB / 0.5717 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/0.3084, allocations: 25.59 kB / 0.5717 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3085, allocations: 17.09 kB / 0.5717 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3102, allocations: 0.976 MB / 0.5727 GB, free: 33.17 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.004029/0.3142, allocations: 3.177 MB / 0.5758 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3158, allocations: 1.308 MB / 0.5771 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.317, allocations: 0.7045 MB / 0.5778 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.986e-05/0.3171, allocations: 12.45 kB / 0.5778 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.3171, allocations: 38.06 kB / 0.5778 GB, free: 31.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.3171, allocations: 2.594 kB / 0.5778 GB, free: 31.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02461/0.3417, allocations: 6.759 MB / 0.5844 GB, free: 30.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.3418, allocations: 60.06 kB / 0.5845 GB, free: 30.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.3427, allocations: 0.8091 MB / 0.5853 GB, free: 29.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.3428, allocations: 41.14 kB / 0.5853 GB, free: 29.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.343, allocations: 433.6 kB / 0.5857 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.3432, allocations: 288.5 kB / 0.586 GB, free: 29.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.3436, allocations: 183.9 kB / 0.5862 GB, free: 29.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.3436, allocations: 343.1 kB / 0.5865 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.3449, allocations: 0.6527 MB / 0.5871 GB, free: 28.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3463, allocations: 0.7805 MB / 0.5879 GB, free: 28.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/0.3629, allocations: 4.502 MB / 0.5923 GB, free: 26.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3629, allocations: 1.219 kB / 0.5923 GB, free: 26.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01262/0.3755, allocations: 4.12 MB / 0.5963 GB, free: 25.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3756, allocations: 7.281 kB / 0.5963 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3756, allocations: 2.125 kB / 0.5963 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/0.3815, allocations: 1.795 MB / 0.5981 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.3824, allocations: 164.1 kB / 0.5982 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/0.4024, allocations: 9.346 MB / 0.6074 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4037, allocations: 150.1 kB / 0.6075 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.4038, allocations: 36.64 kB / 0.6075 GB, free: 21 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.0003679/0.4042, allocations: 223.3 kB / 0.6078 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4043, allocations: 99.91 kB / 0.6079 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.4161, allocations: 3.83 MB / 0.6116 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4161, allocations: 8.625 kB / 0.6116 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4161, allocations: 0 / 0.6116 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.4162, allocations: 9.297 kB / 0.6116 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.4288, allocations: 5.361 MB / 0.6168 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4288, allocations: 1 kB / 0.6168 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.4293, allocations: 87.89 kB / 0.6169 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/0.4345, allocations: 1.749 MB / 0.6186 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.4346, allocations: 21.22 kB / 0.6187 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/0.4505, allocations: 8.074 MB / 0.6265 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4505, allocations: 3.938 kB / 0.6265 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.4635, allocations: 4.712 MB / 0.6311 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.4638, allocations: 183.7 kB / 0.6313 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.464, allocations: 21.36 kB / 0.6313 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.4648, allocations: 88.42 kB / 0.6314 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005389/0.4654, allocations: 200.7 kB / 0.6316 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.4655, allocations: 24 kB / 0.6316 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005905/0.466, allocations: 0.5343 MB / 0.6322 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4661, allocations: 0 / 0.6322 GB, free: 13.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001104/0.4672, allocations: 407.5 kB / 0.6326 GB, free: 13.07 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.000213/0.4674, allocations: 123.2 kB / 0.6327 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006328/0.4737, allocations: 2.36 MB / 0.635 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4738, allocations: 0 / 0.635 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004298/0.4781, allocations: 1.499 MB / 0.6364 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.4788, allocations: 85.02 kB / 0.6365 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.4817, allocations: 1.795 MB / 0.6383 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.4822, allocations: 1.035 MB / 0.6393 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.4824, allocations: 63.42 kB / 0.6393 GB, free: 6.059 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4824, allocations: 3.938 kB / 0.6393 GB, free: 6.055 MB / 446.1 MB Notification: Performance of Templates: time 0.01971/0.5021, allocations: 17.75 MB / 0.6567 GB, free: 4.449 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)