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/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.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 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.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/Complex 4.0.0+maint.om/package.mo): time 0.00415/0.00415, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.152/1.152, allocations: 223.2 MB / 239.1 MB, free: 1.766 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.0008354/0.0008354, allocations: 93.5 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4014/0.4014, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12 kB / 499.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2804, allocations: 69.35 MB / 0.5557 GB, free: 38.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3818, allocations: 98.54 MB / 0.6519 GB, free: 7.844 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.382, allocations: 79.95 kB / 0.652 GB, free: 7.766 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06191/0.4439, allocations: 25.83 MB / 0.6772 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4439, allocations: 0 / 0.6772 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.11e-05/0.444, allocations: 20 kB / 0.6773 GB, free: 13.78 MB / 490.7 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.004454/0.4485, allocations: 1.99 MB / 0.6792 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4485, allocations: 12.03 kB / 0.6792 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.4515, allocations: 0.5603 MB / 0.6798 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4526, allocations: 0.7324 MB / 0.6805 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.4529, allocations: 268.2 kB / 0.6807 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.453, allocations: 76 kB / 0.6808 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.4552, allocations: 1.155 MB / 0.6819 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4552, allocations: 4 kB / 0.6819 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/0.4553, allocations: 36 kB / 0.682 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4553, allocations: 20 kB / 0.682 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.4577, allocations: 1.241 MB / 0.6832 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.4631, allocations: 3.561 MB / 0.6867 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.4651, allocations: 1.514 MB / 0.6882 GB, free: 2.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.4652, allocations: 9 kB / 0.6882 GB, free: 2.188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4653, allocations: 47.5 kB / 0.6882 GB, free: 2.133 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.334e-06/0.4653, allocations: 0 / 0.6882 GB, free: 2.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.0267/0.492, allocations: 8.462 MB / 0.6965 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.492, allocations: 68.41 kB / 0.6965 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.493, allocations: 0.7504 MB / 0.6973 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.863e-05/0.4931, allocations: 41.7 kB / 0.6973 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.4935, allocations: 0.5088 MB / 0.6978 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.4938, allocations: 342.9 kB / 0.6981 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.4938, allocations: 16 kB / 0.6982 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.4939, allocations: 345.9 kB / 0.6985 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.4954, allocations: 0.7086 MB / 0.6992 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.4968, allocations: 0.8195 MB / 0.7 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4983, allocations: 0.7497 MB / 0.7007 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4983, allocations: 0 / 0.7007 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01298/0.5113, allocations: 4.922 MB / 0.7055 GB, free: 284 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5113, allocations: 5.094 kB / 0.7055 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5113, allocations: 4 kB / 0.7055 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006161/0.5175, allocations: 2.099 MB / 0.7076 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.5184, allocations: 175.8 kB / 0.7077 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.5391, allocations: 9.996 MB / 0.7175 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.5406, allocations: 203.1 kB / 0.7177 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.5408, allocations: 31.98 kB / 0.7177 GB, free: 3.641 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(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 (75): * Single equations (assignments): 74 * 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.0005853/0.5413, allocations: 245.6 kB / 0.718 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.5416, allocations: 122.4 kB / 0.7181 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.5549, allocations: 4.959 MB / 0.7229 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.555, allocations: 8 kB / 0.7229 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.555, allocations: 0 / 0.7229 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.555, allocations: 11.92 kB / 0.7229 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.5701, allocations: 6.589 MB / 0.7294 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5701, allocations: 0 / 0.7294 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.5708, allocations: 151.8 kB / 0.7295 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005896/0.5767, allocations: 2.047 MB / 0.7315 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.577, allocations: 19.98 kB / 0.7315 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.5947, allocations: 8.639 MB / 0.74 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5947, allocations: 4 kB / 0.74 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.6097, allocations: 6.009 MB / 0.7459 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.61, allocations: 211.3 kB / 0.7461 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.6102, allocations: 23.92 kB / 0.7461 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6112, allocations: 155.9 kB / 0.7462 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/0.6118, allocations: 212.6 kB / 0.7464 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.6119, allocations: 28 kB / 0.7465 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007332/0.6126, allocations: 0.593 MB / 0.747 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6126, allocations: 0 / 0.747 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001123/0.6137, allocations: 423.5 kB / 0.7474 GB, free: 4.859 MB / 0.5417 GB 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.0002489/0.614, allocations: 147.2 kB / 0.7476 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006406/0.6204, allocations: 2.61 MB / 0.7501 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6204, allocations: 0 / 0.7501 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004588/0.625, allocations: 1.791 MB / 0.7519 GB, free: 288 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.6255, allocations: 78.38 kB / 0.7519 GB, free: 212 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.6289, allocations: 2.395 MB / 0.7543 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.6295, allocations: 1.118 MB / 0.7554 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000318/0.6298, allocations: 73.56 kB / 0.7555 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.63, allocations: 51.42 kB / 0.7555 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/0.63, allocations: 0 / 0.7555 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.2073/0.8374, allocations: 19.63 MB / 0.7747 GB, free: 148.9 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (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)