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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009352/0.0009351, allocations: 96.8 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4676/0.4676, allocations: 78.95 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.221e-05/1.223e-05, allocations: 0 / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 69.52 MB / 0.5424 GB, free: 5.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5363, allocations: 98.38 MB / 0.6385 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.5366, allocations: 76.55 kB / 0.6386 GB, free: 15.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06779/0.6044, allocations: 25.7 MB / 0.6637 GB, free: 6.031 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6044, allocations: 0 / 0.6637 GB, free: 6.031 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.192e-05/0.6045, allocations: 20 kB / 0.6637 GB, free: 6.012 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004585/0.6091, allocations: 1.77 MB / 0.6654 GB, free: 4.195 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6091, allocations: 12.03 kB / 0.6654 GB, free: 4.184 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.6124, allocations: 0.5564 MB / 0.666 GB, free: 3.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.6138, allocations: 0.7247 MB / 0.6667 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.6141, allocations: 240.2 kB / 0.6669 GB, free: 2.574 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.6142, allocations: 47.94 kB / 0.667 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/0.6158, allocations: 0.8202 MB / 0.6678 GB, free: 1.707 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.6173, allocations: 0.7532 MB / 0.6685 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6173, allocations: 4 kB / 0.6685 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.6174, allocations: 7.984 kB / 0.6685 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.6174, allocations: 16 kB / 0.6685 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006614/0.624, allocations: 3.429 MB / 0.6719 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.6254, allocations: 1.191 MB / 0.673 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.6262, allocations: 0.5622 MB / 0.6736 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.6263, allocations: 20.77 kB / 0.6736 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.6264, allocations: 39.34 kB / 0.6736 GB, free: 11.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.797e-06/0.6264, allocations: 0 / 0.6736 GB, free: 11.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01272/0.6391, allocations: 4.005 MB / 0.6776 GB, free: 7.395 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.6392, allocations: 65.12 kB / 0.6776 GB, free: 7.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.6407, allocations: 0.6873 MB / 0.6783 GB, free: 6.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003473/0.6411, allocations: 25.7 kB / 0.6783 GB, free: 6.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.6416, allocations: 0.5009 MB / 0.6788 GB, free: 6.074 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/0.642, allocations: 331 kB / 0.6791 GB, free: 5.746 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.6421, allocations: 0 / 0.6791 GB, free: 5.746 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6422, allocations: 338 kB / 0.6794 GB, free: 5.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.643, allocations: 426.6 kB / 0.6799 GB, free: 4.992 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.6437, allocations: 0.5199 MB / 0.6804 GB, free: 4.441 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.6445, allocations: 468.9 kB / 0.6808 GB, free: 3.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.6445, allocations: 3.953 kB / 0.6808 GB, free: 3.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01265/0.6572, allocations: 4.086 MB / 0.6848 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.6573, allocations: 4 kB / 0.6848 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.6573, allocations: 4 kB / 0.6848 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/0.6632, allocations: 1.686 MB / 0.6865 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.6642, allocations: 171.8 kB / 0.6866 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.6788, allocations: 7.068 MB / 0.6935 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.6805, allocations: 187.2 kB / 0.6937 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.6806, allocations: 31.98 kB / 0.6937 GB, free: 6.605 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "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 () * 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.0003468/0.681, allocations: 116.6 kB / 0.6938 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.6812, allocations: 127.8 kB / 0.694 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.6936, allocations: 4.124 MB / 0.698 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.6936, allocations: 8 kB / 0.698 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6936, allocations: 7.953 kB / 0.698 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-05/0.6937, allocations: 7.969 kB / 0.698 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.7087, allocations: 5.655 MB / 0.7035 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7087, allocations: 0 / 0.7035 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.7095, allocations: 147.8 kB / 0.7037 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005386/0.7149, allocations: 1.668 MB / 0.7053 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.7151, allocations: 4 kB / 0.7053 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.7278, allocations: 6.199 MB / 0.7114 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7278, allocations: 0 / 0.7114 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.7418, allocations: 4.911 MB / 0.7162 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.7423, allocations: 211.3 kB / 0.7164 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.7425, allocations: 1.219 kB / 0.7164 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7437, allocations: 139.9 kB / 0.7165 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007114/0.7444, allocations: 212.9 kB / 0.7167 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/0.7445, allocations: 26.36 kB / 0.7167 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007672/0.7453, allocations: 0.5225 MB / 0.7172 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7453, allocations: 4 kB / 0.7172 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001219/0.7465, allocations: 395.4 kB / 0.7176 GB, free: 13.84 MB / 0.5261 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 () * 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.0003233/0.7468, allocations: 128 kB / 0.7177 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005316/0.7522, allocations: 1.945 MB / 0.7196 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7522, allocations: 7.938 kB / 0.7196 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004233/0.7564, allocations: 1.444 MB / 0.7211 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.7571, allocations: 63.17 kB / 0.7211 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.76, allocations: 1.42 MB / 0.7225 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.7607, allocations: 1.118 MB / 0.7236 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.761, allocations: 69.48 kB / 0.7237 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.7613, allocations: 55.42 kB / 0.7237 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/0.7613, allocations: 0 / 0.7237 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of Templates: time 0.02818/0.7895, allocations: 18.19 MB / 0.7415 GB, free: 5.512 MB / 0.5417 GB 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)