Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005473/0.005473, allocations: 173.2 kB / 15.12 MB, free: 5.582 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.165/1.165, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 104.5 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4154/0.4154, allocations: 78.51 MB / 419.8 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 12 kB / 499.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 69.36 MB / 0.5557 GB, free: 1.777 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/0.4017, allocations: 98.83 MB / 0.6522 GB, free: 3.324 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.402, allocations: 81.03 kB / 0.6523 GB, free: 3.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06285/0.4648, allocations: 25.94 MB / 0.6777 GB, free: 9.891 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4649, allocations: 4 kB / 0.6777 GB, free: 9.887 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.468e-05/0.4649, allocations: 23.94 kB / 0.6777 GB, free: 9.863 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004724/0.4697, allocations: 1.989 MB / 0.6796 GB, free: 7.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4697, allocations: 12.03 kB / 0.6796 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/0.4728, allocations: 0.5603 MB / 0.6802 GB, free: 7.246 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.4742, allocations: 0.7461 MB / 0.6809 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4745, allocations: 276.1 kB / 0.6812 GB, free: 6.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.4746, allocations: 76 kB / 0.6812 GB, free: 6.066 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.4769, allocations: 1.159 MB / 0.6824 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4769, allocations: 0 / 0.6824 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.477, allocations: 28 kB / 0.6824 GB, free: 4.871 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.477, allocations: 22 kB / 0.6824 GB, free: 4.852 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.4795, allocations: 1.245 MB / 0.6836 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.4854, allocations: 3.561 MB / 0.6871 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.4874, allocations: 1.516 MB / 0.6886 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/0.4875, allocations: 16.92 kB / 0.6886 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4876, allocations: 43.56 kB / 0.6887 GB, free: 14.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 4.358e-06/0.4876, allocations: 0 / 0.6887 GB, free: 14.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.02697/0.5146, allocations: 8.508 MB / 0.697 GB, free: 5.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.5146, allocations: 60.41 kB / 0.697 GB, free: 5.578 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/0.5156, allocations: 0.7425 MB / 0.6977 GB, free: 4.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.196e-05/0.5157, allocations: 49.69 kB / 0.6978 GB, free: 4.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.516, allocations: 0.4932 MB / 0.6983 GB, free: 4.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.5164, allocations: 343 kB / 0.6986 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.5164, allocations: 16 kB / 0.6986 GB, free: 3.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5165, allocations: 345.9 kB / 0.6989 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.5179, allocations: 0.7203 MB / 0.6997 GB, free: 2.848 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.5194, allocations: 0.8252 MB / 0.7005 GB, free: 1.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.5208, allocations: 0.7536 MB / 0.7012 GB, free: 1.242 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5208, allocations: 0 / 0.7012 GB, free: 1.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01301/0.5339, allocations: 4.961 MB / 0.706 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5339, allocations: 4 kB / 0.706 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5339, allocations: 4 kB / 0.706 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.54, allocations: 2.103 MB / 0.7081 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.5408, allocations: 167.8 kB / 0.7083 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.561, allocations: 9.974 MB / 0.718 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.5623, allocations: 203.1 kB / 0.7182 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.5624, allocations: 36 kB / 0.7182 GB, free: 15.64 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (76): * Single equations (assignments): 75 * 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.000464/0.5629, allocations: 241 kB / 0.7185 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5631, allocations: 122.5 kB / 0.7186 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.5764, allocations: 4.971 MB / 0.7234 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.5764, allocations: 8 kB / 0.7234 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5764, allocations: 4 kB / 0.7234 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.5764, allocations: 11.97 kB / 0.7235 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.5911, allocations: 6.558 MB / 0.7299 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5911, allocations: 3.125 kB / 0.7299 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.5918, allocations: 147.8 kB / 0.73 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005737/0.5976, allocations: 2.057 MB / 0.732 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.5977, allocations: 16 kB / 0.732 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.6148, allocations: 8.641 MB / 0.7405 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6148, allocations: 0 / 0.7405 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/0.6292, allocations: 5.997 MB / 0.7463 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.6295, allocations: 211.3 kB / 0.7465 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.6297, allocations: 19.98 kB / 0.7465 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6308, allocations: 159.9 kB / 0.7467 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005733/0.6314, allocations: 212.6 kB / 0.7469 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.6314, allocations: 28 kB / 0.7469 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007261/0.6322, allocations: 0.5852 MB / 0.7475 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6322, allocations: 0 / 0.7475 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001085/0.6333, allocations: 431.5 kB / 0.7479 GB, free: 0.9062 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (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 (65): * Single equations (assignments): 64 * 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.0002494/0.6335, allocations: 139.1 kB / 0.748 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006053/0.6396, allocations: 2.598 MB / 0.7506 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6396, allocations: 0 / 0.7506 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00434/0.644, allocations: 1.799 MB / 0.7523 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.6444, allocations: 80.41 kB / 0.7524 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.6478, allocations: 2.459 MB / 0.7548 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.6484, allocations: 1.122 MB / 0.7559 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003074/0.6487, allocations: 65.59 kB / 0.756 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6489, allocations: 51.42 kB / 0.756 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.6489, allocations: 0 / 0.756 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of Templates: time 0.02606/0.675, allocations: 19.54 MB / 0.7751 GB, free: 5.012 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)