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.006833/0.006833, allocations: 174.3 kB / 15.12 MB, free: 5.973 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.556/1.556, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009075/0.0009075, allocations: 90.86 kB / 269.6 MB, free: 13.34 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.07311/0.07311, allocations: 12.59 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.4082/0.4082, allocations: 78.53 MB / 460 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005789/0.0005789, allocations: 19.56 kB / 0.5285 GB, free: 35.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1525, allocations: 69.34 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.6157, allocations: 100.1 MB / 0.6939 GB, free: 98.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/0.6161, allocations: 83 kB / 0.694 GB, free: 98.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06536/0.6815, allocations: 25.05 MB / 0.7185 GB, free: 91.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6816, allocations: 0 / 0.7185 GB, free: 91.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001119/0.6817, allocations: 26.91 kB / 0.7185 GB, free: 91.19 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.006284/0.688, allocations: 1.99 MB / 0.7205 GB, free: 89.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.688, allocations: 15.61 kB / 0.7205 GB, free: 89.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/0.6919, allocations: 0.5707 MB / 0.721 GB, free: 89.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.6944, allocations: 0.7208 MB / 0.7217 GB, free: 89.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.6948, allocations: 260.1 kB / 0.722 GB, free: 88.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/0.6953, allocations: 87.89 kB / 0.7221 GB, free: 88.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.6981, allocations: 1.155 MB / 0.7232 GB, free: 87.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6981, allocations: 0 / 0.7232 GB, free: 87.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.6982, allocations: 40 kB / 0.7232 GB, free: 87.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.6983, allocations: 16 kB / 0.7233 GB, free: 87.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.7008, allocations: 1.238 MB / 0.7245 GB, free: 86.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/0.7076, allocations: 3.569 MB / 0.7279 GB, free: 82.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.7095, allocations: 1.514 MB / 0.7294 GB, free: 80.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.7097, allocations: 16.98 kB / 0.7294 GB, free: 80.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.7097, allocations: 43.56 kB / 0.7295 GB, free: 80.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.276e-06/0.7097, allocations: 0 / 0.7295 GB, free: 80.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.02633/0.7361, allocations: 8.458 MB / 0.7377 GB, free: 72.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.7361, allocations: 64.34 kB / 0.7378 GB, free: 72.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.7375, allocations: 0.7543 MB / 0.7385 GB, free: 71.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.7377, allocations: 41.7 kB / 0.7386 GB, free: 71.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.7381, allocations: 0.5049 MB / 0.7391 GB, free: 70.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.7385, allocations: 339 kB / 0.7394 GB, free: 70.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.7386, allocations: 27.94 kB / 0.7394 GB, free: 70.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.7387, allocations: 337.9 kB / 0.7397 GB, free: 70.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.7402, allocations: 0.7164 MB / 0.7404 GB, free: 69.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.7417, allocations: 0.8234 MB / 0.7413 GB, free: 68.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.7431, allocations: 0.7536 MB / 0.742 GB, free: 67.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7431, allocations: 0 / 0.742 GB, free: 67.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01271/0.7559, allocations: 4.906 MB / 0.7468 GB, free: 62.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.7559, allocations: 8 kB / 0.7468 GB, free: 62.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7559, allocations: 4 kB / 0.7468 GB, free: 62.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005919/0.7619, allocations: 2.112 MB / 0.7489 GB, free: 60.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.7628, allocations: 171.8 kB / 0.749 GB, free: 60.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/0.7829, allocations: 10 MB / 0.7588 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.7846, allocations: 207.1 kB / 0.759 GB, free: 50.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.7848, allocations: 28 kB / 0.759 GB, free: 50.28 MB / 474.7 MB 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.0007851/0.7856, allocations: 246.5 kB / 0.7592 GB, free: 50.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.786, allocations: 122.5 kB / 0.7594 GB, free: 49.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.7985, allocations: 4.959 MB / 0.7642 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7986, allocations: 8 kB / 0.7642 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7986, allocations: 0 / 0.7642 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.7986, allocations: 3.984 kB / 0.7642 GB, free: 44.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.8138, allocations: 6.582 MB / 0.7706 GB, free: 38.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8139, allocations: 4 kB / 0.7706 GB, free: 38.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.8148, allocations: 143.8 kB / 0.7708 GB, free: 38.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/0.8203, allocations: 2.066 MB / 0.7728 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.8205, allocations: 19.98 kB / 0.7728 GB, free: 35.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.8377, allocations: 8.645 MB / 0.7813 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8377, allocations: 3.953 kB / 0.7813 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/0.8523, allocations: 6.013 MB / 0.7871 GB, free: 21.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.853, allocations: 211.4 kB / 0.7873 GB, free: 20.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/0.8534, allocations: 20 kB / 0.7874 GB, free: 20.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.8548, allocations: 151.9 kB / 0.7875 GB, free: 20.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007862/0.8556, allocations: 220.6 kB / 0.7877 GB, free: 20.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.8557, allocations: 20 kB / 0.7877 GB, free: 20.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009354/0.8567, allocations: 0.5969 MB / 0.7883 GB, free: 19.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8567, allocations: 0 / 0.7883 GB, free: 19.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002038/0.8587, allocations: 427.4 kB / 0.7887 GB, free: 19.49 MB / 474.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 () * 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.0005321/0.8593, allocations: 151.1 kB / 0.7889 GB, free: 19.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006562/0.8659, allocations: 2.59 MB / 0.7914 GB, free: 16.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8659, allocations: 0 / 0.7914 GB, free: 16.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004475/0.8704, allocations: 1.787 MB / 0.7931 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.8714, allocations: 84.36 kB / 0.7932 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.8759, allocations: 2.393 MB / 0.7956 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.8764, allocations: 1.118 MB / 0.7966 GB, free: 11.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.8768, allocations: 65.59 kB / 0.7967 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.8771, allocations: 55.42 kB / 0.7968 GB, free: 11.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/0.8771, allocations: 0 / 0.7968 GB, free: 11.16 MB / 474.7 MB Notification: Performance of Templates: time 0.03402/0.9111, allocations: 19.65 MB / 0.816 GB, free: 7.527 MB / 490.7 MB 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)