Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 172.2 kB / 15.42 MB, free: 6.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008316, allocations: 99.89 kB / 289.8 MB, free: 4.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3288/0.3288, allocations: 78.43 MB / 419 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 13.5 kB / 498.4 MB, free: 35.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3298, allocations: 68.74 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006315/0.3362, allocations: 6.703 MB / 0.5604 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.3398, allocations: 1.996 MB / 0.5624 GB, free: 4.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.3403, allocations: 16.31 kB / 0.5624 GB, free: 4.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.341, allocations: 179.8 kB / 0.5626 GB, free: 4.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.3424, allocations: 0.6454 MB / 0.5632 GB, free: 4.094 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3437, allocations: 0.6162 MB / 0.5638 GB, free: 3.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.3448, allocations: 1.39 MB / 0.5651 GB, free: 3.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.3452, allocations: 281.8 kB / 0.5654 GB, free: 2.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005922/0.3458, allocations: 0.5272 MB / 0.5659 GB, free: 2.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006955/0.3465, allocations: 0.652 MB / 0.5666 GB, free: 2.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3467, allocations: 51.56 kB / 0.5666 GB, free: 2.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.3471, allocations: 182.9 kB / 0.5668 GB, free: 2.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.3473, allocations: 229 kB / 0.567 GB, free: 2.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.3477, allocations: 0.5512 MB / 0.5675 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3491, allocations: 1.443 MB / 0.569 GB, free: 1.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3491, allocations: 0 / 0.569 GB, free: 1.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3491, allocations: 4 kB / 0.569 GB, free: 1.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3492, allocations: 0 / 0.569 GB, free: 1.293 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007816/0.357, allocations: 2.298 MB / 0.5712 GB, free: 284 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.357, allocations: 9.406 kB / 0.5712 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005587/0.3626, allocations: 0.7802 MB / 0.572 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.3644, allocations: 0.8087 MB / 0.5728 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.3648, allocations: 258.2 kB / 0.573 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.3649, allocations: 81.72 kB / 0.5731 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.3675, allocations: 1.12 MB / 0.5742 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3675, allocations: 3.938 kB / 0.5742 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.3676, allocations: 30.53 kB / 0.5742 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.3677, allocations: 18.12 kB / 0.5742 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.3702, allocations: 1.075 MB / 0.5753 GB, free: 14.52 MB / 394.7 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.006111/0.3763, allocations: 3.47 MB / 0.5787 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.3785, allocations: 1.433 MB / 0.5801 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.38, allocations: 0.7467 MB / 0.5808 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.3801, allocations: 18.94 kB / 0.5808 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3802, allocations: 40.09 kB / 0.5809 GB, free: 10.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 2.865e-06/0.3802, allocations: 0 / 0.5809 GB, free: 10.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.02468/0.4049, allocations: 6.497 MB / 0.5872 GB, free: 7.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.405, allocations: 91.7 kB / 0.5873 GB, free: 7.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.4067, allocations: 0.9332 MB / 0.5882 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.4069, allocations: 41.83 kB / 0.5882 GB, free: 6.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.4074, allocations: 484.8 kB / 0.5887 GB, free: 6.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.4078, allocations: 324.6 kB / 0.589 GB, free: 5.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.4079, allocations: 102.8 kB / 0.5891 GB, free: 5.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4081, allocations: 355.5 kB / 0.5894 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4096, allocations: 0.7023 MB / 0.5901 GB, free: 5.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.4113, allocations: 0.8404 MB / 0.591 GB, free: 4.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/0.4291, allocations: 4.71 MB / 0.5956 GB, free: 232 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.4291, allocations: 11.92 kB / 0.5956 GB, free: 220 kB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01356/0.4427, allocations: 4.222 MB / 0.5997 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.4428, allocations: 153.1 kB / 0.5998 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4429, allocations: 4 kB / 0.5998 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/0.4486, allocations: 1.714 MB / 0.6015 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4498, allocations: 207.7 kB / 0.6017 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.4687, allocations: 8.341 MB / 0.6099 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.4706, allocations: 178.9 kB / 0.61 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.4707, allocations: 39.98 kB / 0.6101 GB, free: 1.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4707, allocations: 4 kB / 0.6101 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/0.4837, allocations: 4.07 MB / 0.614 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.4837, allocations: 7.938 kB / 0.6141 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005773/0.4895, allocations: 1.718 MB / 0.6157 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4907, allocations: 199.7 kB / 0.6159 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.5099, allocations: 8.324 MB / 0.624 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.5117, allocations: 155.1 kB / 0.6242 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5118, allocations: 43.98 kB / 0.6242 GB, free: 2.5 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006849/0.5125, allocations: 320.9 kB / 0.6245 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.5128, allocations: 118.5 kB / 0.6247 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.5255, allocations: 3.936 MB / 0.6285 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.5255, allocations: 11.94 kB / 0.6285 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5255, allocations: 4 kB / 0.6285 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.5256, allocations: 7.969 kB / 0.6285 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.5404, allocations: 5.551 MB / 0.6339 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.5404, allocations: 7.938 kB / 0.634 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.541, allocations: 107.8 kB / 0.6341 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005618/0.5467, allocations: 1.745 MB / 0.6358 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.5468, allocations: 16 kB / 0.6358 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.5628, allocations: 7.339 MB / 0.6429 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5629, allocations: 7.875 kB / 0.6429 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.5769, allocations: 4.857 MB / 0.6477 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.5774, allocations: 211.4 kB / 0.6479 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5775, allocations: 16 kB / 0.6479 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5786, allocations: 107.9 kB / 0.648 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/0.5792, allocations: 204.6 kB / 0.6482 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.5792, allocations: 27.98 kB / 0.6482 GB, free: 9.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008605/0.5801, allocations: 0.6352 MB / 0.6489 GB, free: 8.926 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5801, allocations: 0 / 0.6489 GB, free: 8.926 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001742/0.5819, allocations: 0.6944 MB / 0.6495 GB, free: 8.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0002732/0.5821, allocations: 133.4 kB / 0.6497 GB, free: 8.094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01055/0.5927, allocations: 4.047 MB / 0.6536 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5927, allocations: 0 / 0.6536 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00435/0.5971, allocations: 1.531 MB / 0.6551 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5984, allocations: 104.2 kB / 0.6552 GB, free: 2.379 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.6031, allocations: 2.522 MB / 0.6577 GB, free: 15.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.6039, allocations: 1.105 MB / 0.6587 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006516/0.6046, allocations: 118.9 kB / 0.6589 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.6048, allocations: 63.42 kB / 0.6589 GB, free: 14.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6048, allocations: 4 kB / 0.6589 GB, free: 14.51 MB / 474.7 MB Notification: Performance of Templates: time 0.04092/0.6458, allocations: 27.65 MB / 0.6859 GB, free: 2.871 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)