Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009124/0.0009124, allocations: 100.1 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.261/1.261, allocations: 223.2 MB / 238.9 MB, free: 5.621 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.001097/0.001098, allocations: 187.8 kB / 290.2 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4226/0.4226, allocations: 78.53 MB / 419.8 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 12 kB / 499.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 69.36 MB / 0.5557 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.218/0.342, allocations: 5.618 MB / 0.5612 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.3452, allocations: 1.844 MB / 0.563 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.3461, allocations: 15.69 kB / 0.563 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.3465, allocations: 152.4 kB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.3484, allocations: 0.6533 MB / 0.5638 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3495, allocations: 0.5165 MB / 0.5643 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.3509, allocations: 0.9155 MB / 0.5652 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.3513, allocations: 266.1 kB / 0.5654 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.3519, allocations: 0.499 MB / 0.5659 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.3525, allocations: 0.6286 MB / 0.5665 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3526, allocations: 53.59 kB / 0.5666 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3531, allocations: 165.4 kB / 0.5667 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.3533, allocations: 218.1 kB / 0.5669 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.3535, allocations: 219.7 kB / 0.5671 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3546, allocations: 1.059 MB / 0.5682 GB, free: 36.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3546, allocations: 2.719 kB / 0.5682 GB, free: 36.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3546, allocations: 1.906 kB / 0.5682 GB, free: 36.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.3546, allocations: 0 / 0.5682 GB, free: 36.37 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.007031/0.3617, allocations: 2.402 MB / 0.5705 GB, free: 35.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3617, allocations: 10.91 kB / 0.5705 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.3665, allocations: 0.7948 MB / 0.5713 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.3678, allocations: 0.7301 MB / 0.572 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.3681, allocations: 266.3 kB / 0.5723 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.3682, allocations: 81.41 kB / 0.5724 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.3704, allocations: 1.156 MB / 0.5735 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.3705, allocations: 0 / 0.5735 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.942e-05/0.3706, allocations: 30.72 kB / 0.5735 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3706, allocations: 19.25 kB / 0.5735 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.3729, allocations: 1.25 MB / 0.5748 GB, free: 34.42 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.005159/0.378, allocations: 3.616 MB / 0.5783 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3799, allocations: 1.514 MB / 0.5798 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.38, allocations: 15.2 kB / 0.5798 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.38, allocations: 52.34 kB / 0.5798 GB, free: 31.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.655e-06/0.38, allocations: 0 / 0.5798 GB, free: 31.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02474/0.4047, allocations: 8.153 MB / 0.5878 GB, free: 29.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4048, allocations: 70.06 kB / 0.5879 GB, free: 29.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.4059, allocations: 0.8919 MB / 0.5887 GB, free: 29.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.4061, allocations: 41.33 kB / 0.5888 GB, free: 29.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.4063, allocations: 0.494 MB / 0.5892 GB, free: 29.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.4066, allocations: 340.2 kB / 0.5896 GB, free: 28.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.4067, allocations: 24.09 kB / 0.5896 GB, free: 28.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.4067, allocations: 348.9 kB / 0.5899 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.4083, allocations: 0.8091 MB / 0.5907 GB, free: 28.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.41, allocations: 0.9369 MB / 0.5916 GB, free: 27.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.4118, allocations: 0.8638 MB / 0.5925 GB, free: 27.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4118, allocations: 0 / 0.5925 GB, free: 27.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01509/0.4269, allocations: 5.212 MB / 0.5976 GB, free: 26.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4269, allocations: 5.594 kB / 0.5976 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.427, allocations: 4.312 kB / 0.5976 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/0.4337, allocations: 2.103 MB / 0.5996 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4349, allocations: 236.8 kB / 0.5999 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.4568, allocations: 9.981 MB / 0.6096 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4585, allocations: 226.5 kB / 0.6098 GB, free: 21.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.4587, allocations: 38.91 kB / 0.6099 GB, free: 21.61 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.000476/0.4592, allocations: 242.4 kB / 0.6101 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4594, allocations: 119.7 kB / 0.6102 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.472, allocations: 4.96 MB / 0.615 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.4721, allocations: 9.594 kB / 0.6151 GB, free: 17.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4721, allocations: 0.6562 kB / 0.6151 GB, free: 17.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.4722, allocations: 7.969 kB / 0.6151 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.4858, allocations: 6.559 MB / 0.6215 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.4858, allocations: 0 / 0.6215 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.4866, allocations: 144.8 kB / 0.6216 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005422/0.492, allocations: 2.053 MB / 0.6236 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.4922, allocations: 21.62 kB / 0.6236 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/0.5082, allocations: 8.649 MB / 0.6321 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5082, allocations: 0.5469 kB / 0.6321 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/0.5238, allocations: 5.989 MB / 0.6379 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.5243, allocations: 208.3 kB / 0.6381 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.5244, allocations: 16 kB / 0.6381 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5254, allocations: 159.9 kB / 0.6383 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/0.5261, allocations: 220.5 kB / 0.6385 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-05/0.5262, allocations: 24 kB / 0.6385 GB, free: 8.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007307/0.5269, allocations: 0.593 MB / 0.6391 GB, free: 8.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5269, allocations: 6 kB / 0.6391 GB, free: 8.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001226/0.5281, allocations: 443.4 kB / 0.6395 GB, free: 7.695 MB / 446.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.0002347/0.5284, allocations: 131.2 kB / 0.6397 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006611/0.535, allocations: 2.767 MB / 0.6424 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.535, allocations: 0 / 0.6424 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004676/0.5397, allocations: 1.795 MB / 0.6441 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.5403, allocations: 76.38 kB / 0.6442 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.5438, allocations: 2.385 MB / 0.6465 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.5444, allocations: 1.122 MB / 0.6476 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.5448, allocations: 94.09 kB / 0.6477 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.545, allocations: 63.42 kB / 0.6478 GB, free: 15.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.545, allocations: 0 / 0.6478 GB, free: 15.22 MB / 462.1 MB Notification: Performance of Templates: time 0.03014/0.5751, allocations: 20.12 MB / 0.6674 GB, free: 11.29 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: