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.007029/0.007029, allocations: 169.5 kB / 15.13 MB, free: 6.027 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.45/1.45, allocations: 223.3 MB / 239.1 MB, free: 1.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008423/0.0008423, allocations: 97.95 kB / 290.3 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4505/0.4505, allocations: 78.61 MB / 420 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 8 kB / 499.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 69.36 MB / 0.5559 GB, free: 38.7 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004901/0.3468, allocations: 5.343 MB / 0.5611 GB, free: 37.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.3502, allocations: 1.673 MB / 0.5628 GB, free: 36.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005765/0.3508, allocations: 12.03 kB / 0.5628 GB, free: 36.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.3513, allocations: 151.8 kB / 0.5629 GB, free: 36.6 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.3535, allocations: 0.5665 MB / 0.5635 GB, free: 36.22 MB / 426.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.001475/0.355, allocations: 496.3 kB / 0.5639 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3566, allocations: 1.134 MB / 0.565 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.3569, allocations: 215 kB / 0.5653 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.3576, allocations: 467.3 kB / 0.5657 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.3582, allocations: 0.5696 MB / 0.5663 GB, free: 34.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3583, allocations: 51.31 kB / 0.5663 GB, free: 34.83 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.3587, allocations: 166 kB / 0.5665 GB, free: 34.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3589, allocations: 196.5 kB / 0.5667 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.359, allocations: 196.6 kB / 0.5668 GB, free: 34.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007268/0.3598, allocations: 0.9919 MB / 0.5678 GB, free: 34.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3598, allocations: 1.062 kB / 0.5678 GB, free: 34.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3598, allocations: 0 / 0.5678 GB, free: 34.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3598, allocations: 0 / 0.5678 GB, free: 34.24 MB / 426.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.006535/0.3663, allocations: 2.204 MB / 0.57 GB, free: 33.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3664, allocations: 12.62 kB / 0.57 GB, free: 33.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/0.371, allocations: 0.7743 MB / 0.5707 GB, free: 33.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.372, allocations: 0.6653 MB / 0.5714 GB, free: 32.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.3722, allocations: 267.4 kB / 0.5716 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3723, allocations: 72.36 kB / 0.5717 GB, free: 32.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.3741, allocations: 1.024 MB / 0.5727 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3742, allocations: 0 / 0.5727 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.3743, allocations: 29.09 kB / 0.5727 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3743, allocations: 21.45 kB / 0.5727 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.3762, allocations: 1.054 MB / 0.5738 GB, free: 31.71 MB / 426.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.004568/0.3808, allocations: 3.245 MB / 0.5769 GB, free: 29.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3826, allocations: 1.381 MB / 0.5783 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.3839, allocations: 0.779 MB / 0.5791 GB, free: 28.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.212e-05/0.384, allocations: 9.656 kB / 0.5791 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.384, allocations: 41.47 kB / 0.5791 GB, free: 28.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 2.715e-06/0.384, allocations: 0 / 0.5791 GB, free: 28.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.02625/0.4103, allocations: 8.031 MB / 0.5869 GB, free: 27.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4104, allocations: 60.06 kB / 0.587 GB, free: 27.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.4113, allocations: 0.7857 MB / 0.5878 GB, free: 26.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.4114, allocations: 44.86 kB / 0.5878 GB, free: 26.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.4116, allocations: 430.2 kB / 0.5882 GB, free: 26.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4119, allocations: 297.3 kB / 0.5885 GB, free: 26.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.4119, allocations: 22.41 kB / 0.5885 GB, free: 26.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.412, allocations: 353.2 kB / 0.5889 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.4134, allocations: 0.7288 MB / 0.5896 GB, free: 25.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.4149, allocations: 0.8517 MB / 0.5904 GB, free: 25.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4165, allocations: 0.7826 MB / 0.5912 GB, free: 24.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4165, allocations: 0 / 0.5912 GB, free: 24.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01465/0.4312, allocations: 5.033 MB / 0.5961 GB, free: 23.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4312, allocations: 5.156 kB / 0.5961 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4313, allocations: 2.531 kB / 0.5961 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/0.4381, allocations: 2.085 MB / 0.5981 GB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009397/0.439, allocations: 186.2 kB / 0.5983 GB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.4613, allocations: 9.518 MB / 0.6076 GB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4629, allocations: 196.1 kB / 0.6078 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.463, allocations: 36.91 kB / 0.6078 GB, free: 19.26 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.4635, allocations: 227.9 kB / 0.608 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.4637, allocations: 103.7 kB / 0.6081 GB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.4775, allocations: 4.728 MB / 0.6128 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.4776, allocations: 8 kB / 0.6128 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4776, allocations: 0 / 0.6128 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.4776, allocations: 3.984 kB / 0.6128 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.492, allocations: 6.293 MB / 0.6189 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.4921, allocations: 0 / 0.6189 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.4926, allocations: 99.83 kB / 0.619 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005842/0.4985, allocations: 2.057 MB / 0.621 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.4986, allocations: 15.98 kB / 0.621 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.515, allocations: 8.19 MB / 0.629 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.515, allocations: 0 / 0.629 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/0.5309, allocations: 5.716 MB / 0.6346 GB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.5314, allocations: 191.6 kB / 0.6348 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.5316, allocations: 19.95 kB / 0.6348 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.5328, allocations: 127.9 kB / 0.6349 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/0.5334, allocations: 200.5 kB / 0.6351 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.5335, allocations: 27.98 kB / 0.6352 GB, free: 8.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007048/0.5342, allocations: 0.5185 MB / 0.6357 GB, free: 7.895 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5342, allocations: 0 / 0.6357 GB, free: 7.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001468/0.5357, allocations: 419.5 kB / 0.6361 GB, free: 7.484 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002489/0.5359, allocations: 119.2 kB / 0.6362 GB, free: 7.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006877/0.5428, allocations: 2.592 MB / 0.6387 GB, free: 4.766 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5428, allocations: 0 / 0.6387 GB, free: 4.766 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005121/0.548, allocations: 1.693 MB / 0.6404 GB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/0.549, allocations: 79.34 kB / 0.6404 GB, free: 2.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.5524, allocations: 2.104 MB / 0.6425 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.553, allocations: 1.037 MB / 0.6435 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.5533, allocations: 78.31 kB / 0.6436 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.5535, allocations: 51.44 kB / 0.6436 GB, free: 15.66 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5535, allocations: 0 / 0.6436 GB, free: 15.66 MB / 458.7 MB Notification: Performance of Templates: time 0.02846/0.582, allocations: 19.08 MB / 0.6623 GB, free: 12.58 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)