Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.000917, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.307/1.307, allocations: 223.3 MB / 239 MB, free: 5.473 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.0009639/0.0009638, allocations: 172.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5132/0.5132, allocations: 91.91 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 12 kB / 0.5042 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3245, allocations: 72.46 MB / 0.5749 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.0041/0.3286, allocations: 5.935 MB / 0.5807 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.3313, allocations: 1.807 MB / 0.5825 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.3318, allocations: 12.53 kB / 0.5825 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.3323, allocations: 157.6 kB / 0.5827 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3337, allocations: 0.6 MB / 0.5832 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3348, allocations: 0.5232 MB / 0.5838 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.336, allocations: 1.279 MB / 0.585 GB, free: 30 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.3364, allocations: 268.3 kB / 0.5853 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.3369, allocations: 0.502 MB / 0.5858 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.3375, allocations: 0.6433 MB / 0.5864 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3376, allocations: 52.81 kB / 0.5864 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.338, allocations: 173 kB / 0.5866 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3382, allocations: 218.3 kB / 0.5868 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3384, allocations: 223.4 kB / 0.587 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.3392, allocations: 1.104 MB / 0.5881 GB, free: 28.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3392, allocations: 0 / 0.5881 GB, free: 28.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3392, allocations: 0 / 0.5881 GB, free: 28.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3392, allocations: 0 / 0.5881 GB, free: 28.73 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.006602/0.3458, allocations: 2.407 MB / 0.5904 GB, free: 27.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3459, allocations: 9.406 kB / 0.5905 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.3506, allocations: 0.7866 MB / 0.5912 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.3518, allocations: 0.7337 MB / 0.5919 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.352, allocations: 267 kB / 0.5922 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3522, allocations: 79.78 kB / 0.5923 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3545, allocations: 1.161 MB / 0.5934 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3545, allocations: 0 / 0.5934 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.3546, allocations: 34.91 kB / 0.5934 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.3546, allocations: 21.92 kB / 0.5935 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.357, allocations: 1.237 MB / 0.5947 GB, free: 25.98 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.00541/0.3625, allocations: 3.51 MB / 0.5981 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.3644, allocations: 1.525 MB / 0.5996 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.366, allocations: 0.8672 MB / 0.6004 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.3662, allocations: 25.03 kB / 0.6005 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3662, allocations: 47.84 kB / 0.6005 GB, free: 22.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.096e-06/0.3662, allocations: 0 / 0.6005 GB, free: 22.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02579/0.392, allocations: 8.163 MB / 0.6085 GB, free: 21.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3921, allocations: 62.03 kB / 0.6085 GB, free: 21.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.3933, allocations: 0.899 MB / 0.6094 GB, free: 20.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002233/0.3936, allocations: 41.27 kB / 0.6094 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.3939, allocations: 498.3 kB / 0.6099 GB, free: 20.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.3942, allocations: 342.7 kB / 0.6103 GB, free: 20.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.3943, allocations: 25.22 kB / 0.6103 GB, free: 20.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.3944, allocations: 350.1 kB / 0.6106 GB, free: 19.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.3961, allocations: 0.8083 MB / 0.6114 GB, free: 19.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.3978, allocations: 0.9347 MB / 0.6123 GB, free: 19.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.3996, allocations: 0.8627 MB / 0.6132 GB, free: 18.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3996, allocations: 1.125 kB / 0.6132 GB, free: 18.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.014/0.4136, allocations: 5.225 MB / 0.6183 GB, free: 16.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.4136, allocations: 4.797 kB / 0.6183 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4136, allocations: 4 kB / 0.6183 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005762/0.4194, allocations: 2.097 MB / 0.6203 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4206, allocations: 231.7 kB / 0.6205 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.4381, allocations: 9.53 MB / 0.6298 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.4398, allocations: 219 kB / 0.6301 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4399, allocations: 43.98 kB / 0.6301 GB, free: 4.762 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004765/0.4404, allocations: 253 kB / 0.6303 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.4406, allocations: 118.5 kB / 0.6304 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.4525, allocations: 4.948 MB / 0.6353 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4525, allocations: 8 kB / 0.6353 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4525, allocations: 4 kB / 0.6353 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.4526, allocations: 3.984 kB / 0.6353 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.4676, allocations: 6.563 MB / 0.6417 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.4677, allocations: 0 / 0.6417 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.4685, allocations: 151.8 kB / 0.6418 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005798/0.4743, allocations: 2.058 MB / 0.6439 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.4745, allocations: 16 kB / 0.6439 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/0.4913, allocations: 8.202 MB / 0.6519 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4914, allocations: 3.953 kB / 0.6519 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.5064, allocations: 6.001 MB / 0.6577 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.5069, allocations: 203.5 kB / 0.6579 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.5071, allocations: 16 kB / 0.658 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.5081, allocations: 151.9 kB / 0.6581 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006471/0.5087, allocations: 216.6 kB / 0.6583 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.5088, allocations: 27.98 kB / 0.6583 GB, free: 7.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.5096, allocations: 0.5969 MB / 0.6589 GB, free: 6.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5096, allocations: 0 / 0.6589 GB, free: 6.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001239/0.5108, allocations: 439.4 kB / 0.6593 GB, free: 6.449 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.000248/0.5111, allocations: 127.2 kB / 0.6595 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006492/0.5176, allocations: 2.768 MB / 0.6622 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5176, allocations: 0 / 0.6622 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004527/0.5221, allocations: 1.804 MB / 0.6639 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.5231, allocations: 92.36 kB / 0.664 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.5267, allocations: 2.355 MB / 0.6663 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.5273, allocations: 1.099 MB / 0.6674 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003951/0.5277, allocations: 86.75 kB / 0.6675 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.528, allocations: 59.42 kB / 0.6675 GB, free: 13.97 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.528, allocations: 0 / 0.6675 GB, free: 13.97 MB / 478.1 MB Notification: Performance of Templates: time 0.03035/0.5583, allocations: 20.15 MB / 0.6872 GB, free: 9.859 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)