Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 176.8 kB / 15.78 MB, free: 6.348 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.451/1.451, allocations: 223.3 MB / 239.8 MB, free: 1.719 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.0008658/0.0008658, allocations: 88.61 kB / 290.9 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.4703/0.4703, allocations: 78.62 MB / 420.7 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003449, allocations: 12 kB / 0.4888 GB, free: 2.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 69.35 MB / 0.5565 GB, free: 38.9 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004559/0.3366, allocations: 5.248 MB / 0.5616 GB, free: 38.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.3397, allocations: 1.662 MB / 0.5633 GB, free: 37.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.3404, allocations: 10.88 kB / 0.5633 GB, free: 37.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.3409, allocations: 142.4 kB / 0.5634 GB, free: 36.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.3423, allocations: 0.5625 MB / 0.564 GB, free: 36.58 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3433, allocations: 486.6 kB / 0.5644 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.3445, allocations: 1.111 MB / 0.5655 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.3448, allocations: 213.9 kB / 0.5657 GB, free: 35.67 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.3453, allocations: 454.2 kB / 0.5661 GB, free: 35.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.3459, allocations: 0.5618 MB / 0.5667 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.346, allocations: 50.59 kB / 0.5667 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.3465, allocations: 168.2 kB / 0.5669 GB, free: 35.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3466, allocations: 198.3 kB / 0.5671 GB, free: 35.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3468, allocations: 193.7 kB / 0.5673 GB, free: 34.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008305/0.3476, allocations: 0.9779 MB / 0.5682 GB, free: 34.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3476, allocations: 0.9375 kB / 0.5682 GB, free: 34.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3476, allocations: 0 / 0.5682 GB, free: 34.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3477, allocations: 0 / 0.5682 GB, free: 34.63 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00668/0.3543, allocations: 2.191 MB / 0.5704 GB, free: 33.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3544, allocations: 9.531 kB / 0.5704 GB, free: 33.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.3591, allocations: 0.763 MB / 0.5711 GB, free: 33.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/0.3602, allocations: 0.6622 MB / 0.5718 GB, free: 33.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.3604, allocations: 260.8 kB / 0.572 GB, free: 32.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.3605, allocations: 68.17 kB / 0.5721 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.3624, allocations: 1.009 MB / 0.5731 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3625, allocations: 6.906 kB / 0.5731 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.3626, allocations: 22.88 kB / 0.5731 GB, free: 32.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.3626, allocations: 24.45 kB / 0.5731 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.3646, allocations: 1.05 MB / 0.5741 GB, free: 32.14 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.004947/0.3696, allocations: 3.212 MB / 0.5773 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.3714, allocations: 1.382 MB / 0.5786 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.3727, allocations: 0.7679 MB / 0.5794 GB, free: 29.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/0.3727, allocations: 14.53 kB / 0.5794 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3728, allocations: 44.81 kB / 0.5794 GB, free: 29.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.166e-06/0.3728, allocations: 0 / 0.5794 GB, free: 29.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02682/0.3996, allocations: 8.283 MB / 0.5875 GB, free: 27.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3997, allocations: 58.22 kB / 0.5876 GB, free: 27.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.4006, allocations: 0.7814 MB / 0.5883 GB, free: 27.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.4008, allocations: 41.64 kB / 0.5884 GB, free: 27.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.401, allocations: 432.9 kB / 0.5888 GB, free: 26.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.4012, allocations: 285.9 kB / 0.5891 GB, free: 26.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.4013, allocations: 21.97 kB / 0.5891 GB, free: 26.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.4014, allocations: 356.4 kB / 0.5894 GB, free: 26.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.4027, allocations: 0.7092 MB / 0.5901 GB, free: 26.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.4043, allocations: 0.8322 MB / 0.5909 GB, free: 25.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.4058, allocations: 0.7572 MB / 0.5917 GB, free: 25.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4058, allocations: 1.375 kB / 0.5917 GB, free: 25.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01413/0.4199, allocations: 4.926 MB / 0.5965 GB, free: 24.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.42, allocations: 6.734 kB / 0.5965 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.42, allocations: 6.219 kB / 0.5965 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006836/0.4269, allocations: 2.169 MB / 0.5986 GB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.4278, allocations: 168.7 kB / 0.5988 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.4489, allocations: 9.36 MB / 0.6079 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4504, allocations: 193.7 kB / 0.6081 GB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/0.4505, allocations: 34.41 kB / 0.6081 GB, free: 19.88 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004552/0.451, allocations: 224.1 kB / 0.6084 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.4512, allocations: 102.4 kB / 0.6084 GB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.4648, allocations: 4.727 MB / 0.6131 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.4649, allocations: 8 kB / 0.6131 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4649, allocations: 0 / 0.6131 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.4649, allocations: 3.984 kB / 0.6131 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.4791, allocations: 6.239 MB / 0.6192 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.4791, allocations: 0 / 0.6192 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.4796, allocations: 95.89 kB / 0.6193 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005766/0.4854, allocations: 2.05 MB / 0.6213 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.4855, allocations: 12 kB / 0.6213 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/0.5021, allocations: 8.214 MB / 0.6293 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5021, allocations: 0 / 0.6293 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/0.5182, allocations: 5.661 MB / 0.6348 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.5186, allocations: 183.7 kB / 0.635 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.5189, allocations: 24 kB / 0.635 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.5199, allocations: 123.9 kB / 0.6351 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005686/0.5205, allocations: 204.6 kB / 0.6353 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.5206, allocations: 20 kB / 0.6354 GB, free: 8.867 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006891/0.5213, allocations: 0.5224 MB / 0.6359 GB, free: 8.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5213, allocations: 0 / 0.6359 GB, free: 8.348 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001359/0.5227, allocations: 403.5 kB / 0.6362 GB, free: 7.953 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.00026/0.5229, allocations: 123.2 kB / 0.6364 GB, free: 7.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006999/0.53, allocations: 2.566 MB / 0.6389 GB, free: 5.246 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.53, allocations: 0.5625 kB / 0.6389 GB, free: 5.246 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004938/0.5349, allocations: 1.682 MB / 0.6405 GB, free: 3.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.5357, allocations: 76.72 kB / 0.6406 GB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.5388, allocations: 1.989 MB / 0.6425 GB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.5394, allocations: 1.025 MB / 0.6435 GB, free: 424 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.5397, allocations: 59.42 kB / 0.6436 GB, free: 364 kB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5397, allocations: 0 / 0.6436 GB, free: 364 kB / 442.7 MB Notification: Performance of Templates: time 0.02111/0.5608, allocations: 17.53 MB / 0.6607 GB, free: 14.81 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)