Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009411/0.0009412, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008865/0.0008863, allocations: 86.03 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06662/0.06662, allocations: 12.6 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2781/0.2781, allocations: 78.07 MB / 450.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.457e-05, allocations: 4 kB / 0.5147 GB, free: 29.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 69.33 MB / 0.5824 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.4951, allocations: 99.37 MB / 0.6794 GB, free: 8.621 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4953, allocations: 79.52 kB / 0.6795 GB, free: 8.578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06039/0.5557, allocations: 24.65 MB / 0.7036 GB, free: 4.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5558, allocations: 4 kB / 0.7036 GB, free: 4.316 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.17e-05/0.5559, allocations: 16 kB / 0.7036 GB, free: 4.301 MB / 442.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.004924/0.5608, allocations: 1.776 MB / 0.7053 GB, free: 2.605 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5608, allocations: 12.03 kB / 0.7054 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.5641, allocations: 0.5572 MB / 0.7059 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.5657, allocations: 0.7341 MB / 0.7066 GB, free: 1.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.566, allocations: 236.2 kB / 0.7068 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.5663, allocations: 47.38 kB / 0.7069 GB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/0.5679, allocations: 0.8177 MB / 0.7077 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5695, allocations: 0.7656 MB / 0.7084 GB, free: 108 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5695, allocations: 4 kB / 0.7084 GB, free: 104 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.5696, allocations: 0 / 0.7084 GB, free: 104 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.5696, allocations: 19.95 kB / 0.7085 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006281/0.5759, allocations: 3.422 MB / 0.7118 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.5772, allocations: 1.201 MB / 0.713 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/0.5779, allocations: 0.5588 MB / 0.7135 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.578, allocations: 16.66 kB / 0.7135 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.5781, allocations: 51.16 kB / 0.7136 GB, free: 12.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 2.595e-06/0.5781, allocations: 0 / 0.7136 GB, free: 12.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01187/0.59, allocations: 3.992 MB / 0.7175 GB, free: 8.586 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.59, allocations: 68.14 kB / 0.7175 GB, free: 8.508 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.5911, allocations: 0.6838 MB / 0.7182 GB, free: 7.984 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.5913, allocations: 29.7 kB / 0.7182 GB, free: 7.949 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.5917, allocations: 0.5049 MB / 0.7187 GB, free: 7.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.5921, allocations: 323.9 kB / 0.719 GB, free: 7.383 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.5922, allocations: 0.9375 kB / 0.719 GB, free: 7.383 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5923, allocations: 340 kB / 0.7194 GB, free: 7.059 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.593, allocations: 425.5 kB / 0.7198 GB, free: 6.844 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.5938, allocations: 0.5215 MB / 0.7203 GB, free: 6.504 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.5945, allocations: 463.9 kB / 0.7207 GB, free: 6.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5945, allocations: 4 kB / 0.7207 GB, free: 6.246 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01212/0.6067, allocations: 4.083 MB / 0.7247 GB, free: 2.684 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6067, allocations: 4 kB / 0.7247 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6068, allocations: 4 kB / 0.7247 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005652/0.6124, allocations: 1.686 MB / 0.7264 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.6134, allocations: 178.5 kB / 0.7265 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.6275, allocations: 7.073 MB / 0.7334 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.629, allocations: 183.2 kB / 0.7336 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.6292, allocations: 28 kB / 0.7337 GB, free: 11.59 MB / 474.7 MB 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.0004111/0.6297, allocations: 120.8 kB / 0.7338 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.63, allocations: 122.5 kB / 0.7339 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.6426, allocations: 4.139 MB / 0.7379 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.6426, allocations: 8 kB / 0.7379 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6426, allocations: 0 / 0.7379 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.6427, allocations: 3.984 kB / 0.7379 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.6577, allocations: 5.659 MB / 0.7435 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6578, allocations: 3.938 kB / 0.7435 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.6586, allocations: 143.9 kB / 0.7436 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005133/0.6637, allocations: 1.66 MB / 0.7452 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.6639, allocations: 15.98 kB / 0.7452 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/0.6764, allocations: 6.199 MB / 0.7513 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.6764, allocations: 7.938 kB / 0.7513 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.69, allocations: 4.9 MB / 0.7561 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.6905, allocations: 203.5 kB / 0.7563 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/0.6908, allocations: 7.891 kB / 0.7563 GB, free: 4.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.6921, allocations: 143.9 kB / 0.7564 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/0.6928, allocations: 212.9 kB / 0.7566 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.6929, allocations: 20 kB / 0.7566 GB, free: 3.723 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007825/0.6937, allocations: 0.5225 MB / 0.7572 GB, free: 3.191 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6937, allocations: 8 kB / 0.7572 GB, free: 3.184 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001402/0.6951, allocations: 395.4 kB / 0.7575 GB, free: 2.797 MB / 490.7 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 () * 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.0002875/0.6954, allocations: 123.1 kB / 0.7577 GB, free: 2.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005003/0.7004, allocations: 1.938 MB / 0.7596 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7004, allocations: 0.5625 kB / 0.7596 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.7045, allocations: 1.459 MB / 0.761 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.7053, allocations: 61.81 kB / 0.761 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.7084, allocations: 1.425 MB / 0.7624 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.7091, allocations: 1.122 MB / 0.7635 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.7095, allocations: 69.48 kB / 0.7636 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.7098, allocations: 59.38 kB / 0.7636 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.7098, allocations: 0 / 0.7636 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.02876/0.7386, allocations: 18.2 MB / 0.7814 GB, free: 10.25 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)