Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.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 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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.336/1.336, allocations: 222.9 MB / 239 MB, free: 4.699 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.00127/0.00127, allocations: 200.4 kB / 289.3 MB, free: 2.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5358/0.5358, allocations: 91.89 MB / 431.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 79.88 kB / 0.5014 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3494, allocations: 71.26 MB / 0.571 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005058/0.3545, allocations: 6.155 MB / 0.577 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.3577, allocations: 1.801 MB / 0.5787 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006834/0.3584, allocations: 15.47 kB / 0.5788 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.3589, allocations: 162.6 kB / 0.5789 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.3605, allocations: 0.6119 MB / 0.5795 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3616, allocations: 0.5307 MB / 0.58 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.3627, allocations: 1.247 MB / 0.5812 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.363, allocations: 272.3 kB / 0.5815 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.3635, allocations: 0.526 MB / 0.582 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.364, allocations: 0.6501 MB / 0.5827 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3641, allocations: 88.22 kB / 0.5827 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.3645, allocations: 224.7 kB / 0.583 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3647, allocations: 247.4 kB / 0.5832 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.365, allocations: 0.5477 MB / 0.5837 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.366, allocations: 1.343 MB / 0.585 GB, free: 28.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3661, allocations: 0 / 0.585 GB, free: 28.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3661, allocations: 0 / 0.585 GB, free: 28.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3661, allocations: 0 / 0.585 GB, free: 28.71 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006801/0.3729, allocations: 2.351 MB / 0.5873 GB, free: 27.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3729, allocations: 9.25 kB / 0.5873 GB, free: 27.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.3778, allocations: 0.7567 MB / 0.5881 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.3788, allocations: 0.7037 MB / 0.5888 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.379, allocations: 252.5 kB / 0.589 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.3791, allocations: 73.16 kB / 0.5891 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3811, allocations: 0.96 MB / 0.59 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3811, allocations: 3.938 kB / 0.59 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.3812, allocations: 25.5 kB / 0.59 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3812, allocations: 15.59 kB / 0.5901 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.3832, allocations: 0.9791 MB / 0.591 GB, free: 26.04 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.005339/0.3885, allocations: 3.209 MB / 0.5941 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3903, allocations: 1.309 MB / 0.5954 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3917, allocations: 0.7049 MB / 0.5961 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.3918, allocations: 14.83 kB / 0.5961 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3918, allocations: 43.7 kB / 0.5962 GB, free: 22.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.115e-06/0.3918, allocations: 0 / 0.5962 GB, free: 22.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02541/0.4173, allocations: 6.476 MB / 0.6025 GB, free: 21.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4173, allocations: 61.22 kB / 0.6026 GB, free: 21.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4185, allocations: 0.7913 MB / 0.6033 GB, free: 21.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.4187, allocations: 42 kB / 0.6034 GB, free: 21.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.419, allocations: 441.7 kB / 0.6038 GB, free: 20.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.4193, allocations: 295.6 kB / 0.6041 GB, free: 20.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.4196, allocations: 183.9 kB / 0.6042 GB, free: 20.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.4197, allocations: 348.5 kB / 0.6046 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.4212, allocations: 0.6592 MB / 0.6052 GB, free: 20.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4228, allocations: 0.784 MB / 0.606 GB, free: 19.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/0.4409, allocations: 4.525 MB / 0.6104 GB, free: 18.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4409, allocations: 0 / 0.6104 GB, free: 18.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01398/0.4549, allocations: 4.074 MB / 0.6144 GB, free: 17.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.455, allocations: 5.469 kB / 0.6144 GB, free: 17.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.455, allocations: 6.562 kB / 0.6144 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00573/0.4607, allocations: 1.736 MB / 0.6161 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/0.4617, allocations: 191.7 kB / 0.6163 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.4802, allocations: 9.06 MB / 0.6251 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4817, allocations: 155.1 kB / 0.6253 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.4819, allocations: 39.98 kB / 0.6253 GB, free: 6.523 MB / 430.1 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.0005345/0.4824, allocations: 225.6 kB / 0.6255 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.4827, allocations: 102.7 kB / 0.6256 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.494, allocations: 3.817 MB / 0.6293 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.494, allocations: 11.94 kB / 0.6294 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.494, allocations: 0 / 0.6294 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.494, allocations: 3.984 kB / 0.6294 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.5086, allocations: 5.352 MB / 0.6346 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.5086, allocations: 4 kB / 0.6346 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.5093, allocations: 91.89 kB / 0.6347 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005992/0.5153, allocations: 1.741 MB / 0.6364 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.5155, allocations: 16 kB / 0.6364 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.534, allocations: 8.069 MB / 0.6443 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.534, allocations: 0 / 0.6443 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.5486, allocations: 4.7 MB / 0.6489 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.5491, allocations: 183.6 kB / 0.649 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.5494, allocations: 16 kB / 0.6491 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5505, allocations: 95.89 kB / 0.6491 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/0.5512, allocations: 200.7 kB / 0.6493 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5513, allocations: 20 kB / 0.6494 GB, free: 13.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007448/0.5521, allocations: 0.5341 MB / 0.6499 GB, free: 12.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5521, allocations: 0 / 0.6499 GB, free: 12.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001343/0.5534, allocations: 415.5 kB / 0.6503 GB, free: 12.59 MB / 462.1 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.0002851/0.5537, allocations: 131.1 kB / 0.6504 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006547/0.5603, allocations: 2.324 MB / 0.6527 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5603, allocations: 0 / 0.6527 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.5648, allocations: 1.508 MB / 0.6541 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.5657, allocations: 77.45 kB / 0.6542 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.5692, allocations: 2.159 MB / 0.6563 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.5699, allocations: 1.025 MB / 0.6573 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.5702, allocations: 86.3 kB / 0.6574 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.5705, allocations: 55.44 kB / 0.6575 GB, free: 5.141 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5705, allocations: 0 / 0.6575 GB, free: 5.141 MB / 462.1 MB Notification: Performance of Templates: time 0.03301/0.6035, allocations: 21.18 MB / 0.6781 GB, free: 15.97 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)