Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0071/0.0071, allocations: 170.7 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 221.2 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009688/0.0009689, allocations: 90.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0683/0.0683, allocations: 12.6 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.466/0.466, allocations: 78.51 MB / 460 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005337/0.0005338, allocations: 18.25 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1874, allocations: 69.33 MB / 0.5962 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.7076, allocations: 100.4 MB / 0.6942 GB, free: 35.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.7079, allocations: 80.89 kB / 0.6943 GB, free: 35.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06311/0.771, allocations: 25.17 MB / 0.7189 GB, free: 33.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7711, allocations: 3.938 kB / 0.7189 GB, free: 33.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.604e-05/0.7711, allocations: 24.31 kB / 0.7189 GB, free: 33.05 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.004842/0.776, allocations: 1.991 MB / 0.7209 GB, free: 32.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.776, allocations: 12.61 kB / 0.7209 GB, free: 32.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.7791, allocations: 0.5703 MB / 0.7214 GB, free: 32.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.7805, allocations: 0.7453 MB / 0.7222 GB, free: 31.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.7807, allocations: 270 kB / 0.7224 GB, free: 31.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.7808, allocations: 73.09 kB / 0.7225 GB, free: 31.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.7829, allocations: 1.161 MB / 0.7236 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.7829, allocations: 1.688 kB / 0.7236 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/0.783, allocations: 30.62 kB / 0.7237 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.7831, allocations: 19.16 kB / 0.7237 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.7855, allocations: 1.243 MB / 0.7249 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.7908, allocations: 3.556 MB / 0.7284 GB, free: 30.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.7926, allocations: 1.521 MB / 0.7298 GB, free: 29.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.7927, allocations: 20.12 kB / 0.7299 GB, free: 29.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.7927, allocations: 54.55 kB / 0.7299 GB, free: 29.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=98): time 4.328e-06/0.7927, allocations: 0 / 0.7299 GB, free: 29.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.02555/0.8183, allocations: 8.496 MB / 0.7382 GB, free: 29.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.8184, allocations: 68.12 kB / 0.7383 GB, free: 29.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.8195, allocations: 0.7463 MB / 0.739 GB, free: 28.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.8198, allocations: 44.7 kB / 0.739 GB, free: 28.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.8201, allocations: 0.4947 MB / 0.7395 GB, free: 28.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.8205, allocations: 339.2 kB / 0.7399 GB, free: 28.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.8206, allocations: 18.84 kB / 0.7399 GB, free: 28.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.8207, allocations: 340.1 kB / 0.7402 GB, free: 28.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.8221, allocations: 0.723 MB / 0.7409 GB, free: 28.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.8235, allocations: 0.8305 MB / 0.7417 GB, free: 28.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.825, allocations: 0.7583 MB / 0.7425 GB, free: 28.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.825, allocations: 0 / 0.7425 GB, free: 28.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01318/0.8382, allocations: 4.962 MB / 0.7473 GB, free: 27.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.8382, allocations: 3.969 kB / 0.7473 GB, free: 27.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.8383, allocations: 3.938 kB / 0.7473 GB, free: 27.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006138/0.8444, allocations: 2.098 MB / 0.7494 GB, free: 26.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/0.8454, allocations: 172 kB / 0.7495 GB, free: 26.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.8651, allocations: 9.978 MB / 0.7593 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.8667, allocations: 205.9 kB / 0.7595 GB, free: 23.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.8668, allocations: 34.52 kB / 0.7595 GB, free: 23.6 MB / 474.7 MB 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.0006017/0.8674, allocations: 236.8 kB / 0.7597 GB, free: 23.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.8677, allocations: 119.8 kB / 0.7598 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.8809, allocations: 4.966 MB / 0.7647 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.827e-05/0.881, allocations: 11.8 kB / 0.7647 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.881, allocations: 0 / 0.7647 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-05/0.881, allocations: 11.97 kB / 0.7647 GB, free: 21.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.896, allocations: 6.566 MB / 0.7711 GB, free: 19.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.8961, allocations: 0 / 0.7711 GB, free: 19.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.8971, allocations: 147.8 kB / 0.7713 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005835/0.903, allocations: 2.064 MB / 0.7733 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/0.9033, allocations: 17.28 kB / 0.7733 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.9205, allocations: 8.622 MB / 0.7817 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9205, allocations: 4 kB / 0.7817 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.9358, allocations: 5.993 MB / 0.7876 GB, free: 7.809 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.9364, allocations: 210.7 kB / 0.7878 GB, free: 7.594 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.9366, allocations: 16.5 kB / 0.7878 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.9376, allocations: 157.9 kB / 0.7879 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/0.9384, allocations: 225.4 kB / 0.7882 GB, free: 7.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.9384, allocations: 24.94 kB / 0.7882 GB, free: 7.242 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007703/0.9392, allocations: 0.5882 MB / 0.7887 GB, free: 6.777 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9392, allocations: 0 / 0.7887 GB, free: 6.777 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001327/0.9406, allocations: 431.4 kB / 0.7892 GB, free: 6.355 MB / 474.7 MB 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.0002868/0.9409, allocations: 147 kB / 0.7893 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006167/0.947, allocations: 2.603 MB / 0.7918 GB, free: 3.594 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9471, allocations: 0 / 0.7918 GB, free: 3.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004523/0.9516, allocations: 1.8 MB / 0.7936 GB, free: 1.777 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/0.9525, allocations: 76.36 kB / 0.7937 GB, free: 1.703 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.9563, allocations: 2.449 MB / 0.7961 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.957, allocations: 1.122 MB / 0.7972 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00038/0.9574, allocations: 65.58 kB / 0.7972 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.9577, allocations: 59.42 kB / 0.7973 GB, free: 13.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9577, allocations: 0 / 0.7973 GB, free: 13.96 MB / 490.7 MB Notification: Performance of Templates: time 0.03395/0.9916, allocations: 19.54 MB / 0.8164 GB, free: 10.44 MB / 0.4949 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)