Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.271/1.271, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001136/0.001137, allocations: 189 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4544/0.4544, allocations: 79.45 MB / 420.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.489 GB, free: 5.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 69.52 MB / 0.5569 GB, free: 64 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2032/0.3289, allocations: 5.585 MB / 0.5623 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.3321, allocations: 1.94 MB / 0.5642 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.3332, allocations: 11.25 kB / 0.5642 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.334, allocations: 171.8 kB / 0.5644 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.336, allocations: 0.6577 MB / 0.565 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3373, allocations: 0.5505 MB / 0.5656 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3389, allocations: 0.9403 MB / 0.5665 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.3394, allocations: 259.1 kB / 0.5667 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.3401, allocations: 0.5136 MB / 0.5673 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007438/0.3409, allocations: 0.6207 MB / 0.5679 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.3411, allocations: 52.84 kB / 0.5679 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.3415, allocations: 160.3 kB / 0.5681 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.3417, allocations: 219 kB / 0.5683 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.342, allocations: 216.6 kB / 0.5685 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.343, allocations: 1.082 MB / 0.5695 GB, free: 35.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.343, allocations: 2.125 kB / 0.5695 GB, free: 35.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.343, allocations: 0 / 0.5695 GB, free: 35.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.535e-05/0.3431, allocations: 0 / 0.5695 GB, free: 35.81 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007482/0.3506, allocations: 2.373 MB / 0.5719 GB, free: 34.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3506, allocations: 9.094 kB / 0.5719 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.3555, allocations: 0.788 MB / 0.5726 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.3572, allocations: 0.7697 MB / 0.5734 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.3574, allocations: 272 kB / 0.5736 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.3577, allocations: 75.28 kB / 0.5737 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.3601, allocations: 1.194 MB / 0.5749 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3601, allocations: 2.344 kB / 0.5749 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.3602, allocations: 33.3 kB / 0.5749 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3603, allocations: 19.06 kB / 0.5749 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.3624, allocations: 1.157 MB / 0.5761 GB, free: 33.15 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.00567/0.3681, allocations: 3.663 MB / 0.5796 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.37, allocations: 1.515 MB / 0.5811 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.3701, allocations: 20.39 kB / 0.5811 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3701, allocations: 38.81 kB / 0.5812 GB, free: 30.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.564e-06/0.3701, allocations: 1.5 kB / 0.5812 GB, free: 30.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02551/0.3956, allocations: 8.035 MB / 0.589 GB, free: 28.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.3957, allocations: 87.55 kB / 0.5891 GB, free: 28.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.3972, allocations: 0.9303 MB / 0.59 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.3974, allocations: 41.98 kB / 0.5901 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.3976, allocations: 485.9 kB / 0.5905 GB, free: 27.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.3979, allocations: 322.2 kB / 0.5908 GB, free: 27.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.398, allocations: 25.41 kB / 0.5908 GB, free: 27.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.398, allocations: 351.2 kB / 0.5912 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.3996, allocations: 0.7782 MB / 0.5919 GB, free: 26.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.4013, allocations: 0.8975 MB / 0.5928 GB, free: 26.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.403, allocations: 0.8282 MB / 0.5936 GB, free: 26.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.403, allocations: 3.938 kB / 0.5936 GB, free: 26.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0149/0.4179, allocations: 5.134 MB / 0.5986 GB, free: 25.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.4181, allocations: 0.7868 MB / 0.5994 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4181, allocations: 9.312 kB / 0.5994 GB, free: 24.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006853/0.425, allocations: 2.099 MB / 0.6015 GB, free: 23.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.426, allocations: 198.1 kB / 0.6017 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/0.4493, allocations: 9.981 MB / 0.6114 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4511, allocations: 216.3 kB / 0.6116 GB, free: 19.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.4513, allocations: 43.38 kB / 0.6117 GB, free: 19.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.4513, allocations: 2.812 kB / 0.6117 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/0.4656, allocations: 4.969 MB / 0.6165 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.4656, allocations: 0 / 0.6165 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006025/0.4717, allocations: 2.104 MB / 0.6186 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.4727, allocations: 195.7 kB / 0.6188 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.493, allocations: 9.95 MB / 0.6285 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4948, allocations: 204.6 kB / 0.6287 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/0.4952, allocations: 39.98 kB / 0.6287 GB, free: 2.926 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (109): * Single equations (assignments): 108 * 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.0008702/0.4961, allocations: 321.7 kB / 0.629 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.4965, allocations: 118.5 kB / 0.6291 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.51, allocations: 4.858 MB / 0.6339 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.5101, allocations: 8 kB / 0.6339 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5101, allocations: 5.062 kB / 0.6339 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.5101, allocations: 3.984 kB / 0.6339 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.527, allocations: 6.481 MB / 0.6402 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.527, allocations: 0.9375 kB / 0.6402 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.5278, allocations: 115.9 kB / 0.6403 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/0.5342, allocations: 2.044 MB / 0.6423 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.5344, allocations: 16 kB / 0.6423 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.5541, allocations: 8.637 MB / 0.6508 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5542, allocations: 2.438 kB / 0.6508 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.5706, allocations: 5.849 MB / 0.6565 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.5713, allocations: 215.4 kB / 0.6567 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.5718, allocations: 21.16 kB / 0.6567 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.5733, allocations: 147.9 kB / 0.6569 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006656/0.574, allocations: 204.6 kB / 0.657 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.5741, allocations: 20.94 kB / 0.6571 GB, free: 5.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.5752, allocations: 0.6313 MB / 0.6577 GB, free: 4.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5752, allocations: 3.938 kB / 0.6577 GB, free: 4.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002837/0.578, allocations: 0.6983 MB / 0.6584 GB, free: 4.195 MB / 462.1 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 (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.0003066/0.5784, allocations: 133.2 kB / 0.6585 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01251/0.5909, allocations: 4.616 MB / 0.663 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.5909, allocations: 5.938 kB / 0.663 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.5961, allocations: 1.739 MB / 0.6647 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.597, allocations: 85.73 kB / 0.6648 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.6018, allocations: 2.538 MB / 0.6673 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008603/0.6027, allocations: 1.129 MB / 0.6684 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006118/0.6034, allocations: 119.4 kB / 0.6685 GB, free: 9.789 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.6036, allocations: 59.44 kB / 0.6685 GB, free: 9.73 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6036, allocations: 0 / 0.6685 GB, free: 9.73 MB / 478.1 MB Notification: Performance of Templates: time 0.04628/0.6499, allocations: 27.2 MB / 0.6951 GB, free: 14.69 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)