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.09306/0.09306, allocations: 12.2 MB / 27.32 MB, free: 1.41 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.001183/0.001183, allocations: 104.8 kB / 30.82 MB, free: 4.703 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.482/1.482, allocations: 205.1 MB / 239.3 MB, free: 12.98 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.001317/0.001317, allocations: 184.5 kB / 289.5 MB, free: 14.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4338/0.4338, allocations: 78.51 MB / 418 MB, free: 12.02 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.002299/0.002299, allocations: 131.8 kB / 498.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3441, allocations: 68.03 MB / 0.553 GB, free: 32.72 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.007362/0.3515, allocations: 6.128 MB / 0.559 GB, free: 28.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.3561, allocations: 1.751 MB / 0.5607 GB, free: 26.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.3575, allocations: 11 kB / 0.5607 GB, free: 26.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.3583, allocations: 166.3 kB / 0.5608 GB, free: 26.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.3604, allocations: 0.6164 MB / 0.5614 GB, free: 26.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3618, allocations: 0.5221 MB / 0.562 GB, free: 26.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3632, allocations: 1.188 MB / 0.5631 GB, free: 25.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.3635, allocations: 246.9 kB / 0.5633 GB, free: 25.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006003/0.3642, allocations: 491.5 kB / 0.5638 GB, free: 25.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.3647, allocations: 0.6138 MB / 0.5644 GB, free: 24.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3649, allocations: 62.02 kB / 0.5645 GB, free: 24.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.3654, allocations: 192 kB / 0.5647 GB, free: 24.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.3655, allocations: 208.2 kB / 0.5649 GB, free: 24.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.3659, allocations: 0.5163 MB / 0.5654 GB, free: 24.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.367, allocations: 1.306 MB / 0.5666 GB, free: 23.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.367, allocations: 3.938 kB / 0.5666 GB, free: 23.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.367, allocations: 1.438 kB / 0.5666 GB, free: 23.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.367, allocations: 0 / 0.5666 GB, free: 23.15 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.007419/0.3745, allocations: 2.355 MB / 0.5689 GB, free: 21.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3745, allocations: 13.11 kB / 0.569 GB, free: 21.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.3794, allocations: 0.7611 MB / 0.5697 GB, free: 21.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.3805, allocations: 0.7089 MB / 0.5704 GB, free: 20.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.3808, allocations: 251.5 kB / 0.5706 GB, free: 20.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.381, allocations: 64.28 kB / 0.5707 GB, free: 20.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.3831, allocations: 0.9506 MB / 0.5716 GB, free: 19.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3831, allocations: 3.938 kB / 0.5716 GB, free: 19.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.3832, allocations: 33.2 kB / 0.5717 GB, free: 19.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3833, allocations: 16.56 kB / 0.5717 GB, free: 19.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3853, allocations: 0.9744 MB / 0.5726 GB, free: 19.5 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.004781/0.3901, allocations: 3.172 MB / 0.5757 GB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3917, allocations: 1.308 MB / 0.577 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.3929, allocations: 0.6999 MB / 0.5777 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.393, allocations: 16.64 kB / 0.5777 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.393, allocations: 39.22 kB / 0.5777 GB, free: 14.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.393, allocations: 4 kB / 0.5777 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02477/0.4178, allocations: 6.755 MB / 0.5843 GB, free: 7.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.4179, allocations: 64 kB / 0.5844 GB, free: 7.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.4188, allocations: 0.8064 MB / 0.5852 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.4191, allocations: 41.7 kB / 0.5852 GB, free: 6.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.4193, allocations: 428.4 kB / 0.5856 GB, free: 6.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.4196, allocations: 299.8 kB / 0.5859 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.42, allocations: 182.8 kB / 0.5861 GB, free: 5.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.42, allocations: 341.9 kB / 0.5864 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4213, allocations: 0.6506 MB / 0.5871 GB, free: 4.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.4225, allocations: 0.7756 MB / 0.5878 GB, free: 4.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/0.4386, allocations: 4.491 MB / 0.5922 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4387, allocations: 0 / 0.5922 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01294/0.4516, allocations: 4.117 MB / 0.5962 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4517, allocations: 8 kB / 0.5962 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4517, allocations: 7.984 kB / 0.5962 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00599/0.4577, allocations: 1.78 MB / 0.598 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/0.4586, allocations: 167.7 kB / 0.5981 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/0.4796, allocations: 8.591 MB / 0.6065 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4814, allocations: 155 kB / 0.6067 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4815, allocations: 43.98 kB / 0.6067 GB, free: 0.5781 MB / 414.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.0004599/0.482, allocations: 229.5 kB / 0.6069 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.4822, allocations: 98.78 kB / 0.607 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.4945, allocations: 3.837 MB / 0.6108 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4946, allocations: 8 kB / 0.6108 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4946, allocations: 0 / 0.6108 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.4946, allocations: 7.984 kB / 0.6108 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.5093, allocations: 5.34 MB / 0.616 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.5094, allocations: 0 / 0.616 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.51, allocations: 95.83 kB / 0.6161 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005681/0.5156, allocations: 1.749 MB / 0.6178 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.5158, allocations: 12 kB / 0.6178 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.5323, allocations: 7.346 MB / 0.625 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5323, allocations: 11.86 kB / 0.625 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.5463, allocations: 4.712 MB / 0.6296 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.547, allocations: 187.7 kB / 0.6298 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.5472, allocations: 12 kB / 0.6298 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009644/0.5481, allocations: 95.83 kB / 0.6299 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007178/0.5489, allocations: 200.6 kB / 0.6301 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.5489, allocations: 16 kB / 0.6301 GB, free: 8.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007054/0.5496, allocations: 0.5421 MB / 0.6306 GB, free: 7.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5497, allocations: 0 / 0.6306 GB, free: 7.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00136/0.551, allocations: 411.6 kB / 0.631 GB, free: 7.324 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.0002679/0.5513, allocations: 123.2 kB / 0.6311 GB, free: 7.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006273/0.5576, allocations: 2.297 MB / 0.6334 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5576, allocations: 0 / 0.6334 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.5619, allocations: 1.459 MB / 0.6348 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.563, allocations: 89.92 kB / 0.6349 GB, free: 3.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.5667, allocations: 2.092 MB / 0.6369 GB, free: 1.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.5674, allocations: 1.029 MB / 0.6379 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.5678, allocations: 78.17 kB / 0.638 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.568, allocations: 59.42 kB / 0.6381 GB, free: 20 kB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.568, allocations: 0 / 0.6381 GB, free: 20 kB / 446.1 MB Notification: Performance of Templates: time 0.03232/0.6003, allocations: 20.11 MB / 0.6577 GB, free: 11.92 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)