Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 171.8 kB / 16.1 MB, free: 5.695 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.443/1.443, allocations: 223.3 MB / 240.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 98.91 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4843/0.4843, allocations: 78.62 MB / 421 MB, free: 9.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003894, allocations: 16 kB / 0.4894 GB, free: 9.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 69.34 MB / 0.5571 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004337/0.3421, allocations: 5.69 MB / 0.5627 GB, free: 13.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.3455, allocations: 1.775 MB / 0.5644 GB, free: 11.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3466, allocations: 11.94 kB / 0.5644 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.3472, allocations: 155 kB / 0.5646 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.3492, allocations: 0.6062 MB / 0.5652 GB, free: 10.53 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.001062/0.3503, allocations: 0.5247 MB / 0.5657 GB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.3513, allocations: 1.19 MB / 0.5668 GB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.3516, allocations: 239.6 kB / 0.5671 GB, free: 8.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.352, allocations: 485.6 kB / 0.5675 GB, free: 8.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.3524, allocations: 0.5909 MB / 0.5681 GB, free: 7.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.574e-05/0.3525, allocations: 44 kB / 0.5682 GB, free: 7.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.3529, allocations: 179.9 kB / 0.5683 GB, free: 7.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.353, allocations: 195 kB / 0.5685 GB, free: 7.086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.3533, allocations: 0.5257 MB / 0.569 GB, free: 6.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.354, allocations: 0.9953 MB / 0.57 GB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.354, allocations: 0 / 0.57 GB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.354, allocations: 0 / 0.57 GB, free: 5.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.354, allocations: 4 kB / 0.57 GB, free: 5.551 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006074/0.3601, allocations: 2.193 MB / 0.5721 GB, free: 3.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3601, allocations: 8.031 kB / 0.5722 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/0.3647, allocations: 0.7751 MB / 0.5729 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/0.3656, allocations: 0.6972 MB / 0.5736 GB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.3659, allocations: 256.2 kB / 0.5738 GB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.366, allocations: 68 kB / 0.5739 GB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3677, allocations: 1.03 MB / 0.5749 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.3677, allocations: 3.938 kB / 0.5749 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.3678, allocations: 31.94 kB / 0.5749 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3678, allocations: 16 kB / 0.575 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.3699, allocations: 1.07 MB / 0.576 GB, free: 15.27 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.005262/0.3752, allocations: 3.244 MB / 0.5792 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.3772, allocations: 1.394 MB / 0.5805 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.3787, allocations: 0.7735 MB / 0.5813 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3788, allocations: 16.98 kB / 0.5813 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3789, allocations: 39.56 kB / 0.5813 GB, free: 9.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 3.376e-06/0.3789, allocations: 0 / 0.5813 GB, free: 9.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.02523/0.4041, allocations: 8.067 MB / 0.5892 GB, free: 1.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4042, allocations: 60.41 kB / 0.5893 GB, free: 1.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.4053, allocations: 0.7906 MB / 0.59 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.4055, allocations: 41.7 kB / 0.5901 GB, free: 0.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.4058, allocations: 436.4 kB / 0.5905 GB, free: 68 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.4062, allocations: 299.9 kB / 0.5908 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4063, allocations: 97.67 kB / 0.5909 GB, free: 15.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4065, allocations: 345.9 kB / 0.5912 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4079, allocations: 0.7327 MB / 0.5919 GB, free: 14.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.4095, allocations: 0.8655 MB / 0.5928 GB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.427, allocations: 5.015 MB / 0.5977 GB, free: 8.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4271, allocations: 0 / 0.5977 GB, free: 8.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0138/0.4409, allocations: 4.992 MB / 0.6025 GB, free: 3.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.441, allocations: 8 kB / 0.6026 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.441, allocations: 3.938 kB / 0.6026 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006264/0.4473, allocations: 2.057 MB / 0.6046 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.4482, allocations: 187.8 kB / 0.6047 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/0.4682, allocations: 9.312 MB / 0.6138 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.4697, allocations: 199 kB / 0.614 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.4698, allocations: 35.98 kB / 0.6141 GB, free: 7.691 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (101): * Single equations (assignments): 100 * 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.000429/0.4702, allocations: 221.7 kB / 0.6143 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4704, allocations: 110.6 kB / 0.6144 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.4834, allocations: 4.723 MB / 0.619 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.4835, allocations: 12 kB / 0.619 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4835, allocations: 0 / 0.619 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/0.4835, allocations: 7.922 kB / 0.619 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.4988, allocations: 6.286 MB / 0.6252 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.4989, allocations: 0 / 0.6252 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.4994, allocations: 103.8 kB / 0.6253 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006322/0.5058, allocations: 2.061 MB / 0.6273 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/0.5061, allocations: 20 kB / 0.6273 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.5246, allocations: 8.21 MB / 0.6353 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5247, allocations: 0 / 0.6353 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.5396, allocations: 5.727 MB / 0.6409 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.54, allocations: 187.7 kB / 0.6411 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5402, allocations: 16 kB / 0.6411 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.5411, allocations: 127.9 kB / 0.6412 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000663/0.5417, allocations: 196.7 kB / 0.6414 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.5418, allocations: 16 kB / 0.6414 GB, free: 11.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006534/0.5425, allocations: 0.5303 MB / 0.6419 GB, free: 10.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5425, allocations: 3.938 kB / 0.6419 GB, free: 10.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001168/0.5436, allocations: 411.5 kB / 0.6423 GB, free: 10.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (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 (50): * Single equations (assignments): 49 * 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.0002559/0.5439, allocations: 123.2 kB / 0.6424 GB, free: 10.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006436/0.5504, allocations: 2.575 MB / 0.645 GB, free: 7.676 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5504, allocations: 0 / 0.645 GB, free: 7.676 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004523/0.5549, allocations: 1.699 MB / 0.6466 GB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.5558, allocations: 79.28 kB / 0.6467 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.5589, allocations: 2.251 MB / 0.6489 GB, free: 3.598 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.5595, allocations: 1.033 MB / 0.6499 GB, free: 2.539 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.5598, allocations: 59.42 kB / 0.65 GB, free: 2.48 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5598, allocations: 0 / 0.65 GB, free: 2.48 MB / 458.7 MB Notification: Performance of Templates: time 0.02255/0.5824, allocations: 17.68 MB / 0.6672 GB, free: 0.7852 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)