Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.0009431, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.294/1.294, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008727, allocations: 91.77 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4701/0.4701, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.032e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3859, allocations: 69.51 MB / 0.5491 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5364, allocations: 98.82 MB / 0.6456 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5367, allocations: 83.94 kB / 0.6457 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06667/0.6034, allocations: 25.69 MB / 0.6708 GB, free: 6.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6034, allocations: 0 / 0.6708 GB, free: 6.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.656e-05/0.6035, allocations: 20 kB / 0.6708 GB, free: 6.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004578/0.6081, allocations: 1.758 MB / 0.6725 GB, free: 5.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6081, allocations: 15.97 kB / 0.6725 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.6113, allocations: 0.5564 MB / 0.6731 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.6129, allocations: 0.7248 MB / 0.6738 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.6132, allocations: 268.2 kB / 0.674 GB, free: 3.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.6134, allocations: 76 kB / 0.6741 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.615, allocations: 0.8665 MB / 0.675 GB, free: 2.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6151, allocations: 0 / 0.675 GB, free: 2.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.6152, allocations: 28 kB / 0.675 GB, free: 2.383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.6152, allocations: 20 kB / 0.675 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.6168, allocations: 0.8553 MB / 0.6758 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.387/1.004, allocations: 3.529 MB / 0.6793 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/1.006, allocations: 1.216 MB / 0.6805 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.008, allocations: 0.5813 MB / 0.681 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/1.008, allocations: 16.3 kB / 0.6811 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.008, allocations: 42.92 kB / 0.6811 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.769e-06/1.008, allocations: 0 / 0.6811 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02197/1.03, allocations: 4.058 MB / 0.6851 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.03, allocations: 65.75 kB / 0.6851 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/1.032, allocations: 0.7286 MB / 0.6858 GB, free: 103 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/1.032, allocations: 42.39 kB / 0.6859 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/1.033, allocations: 0.4954 MB / 0.6864 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/1.033, allocations: 337.3 kB / 0.6867 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/1.033, allocations: 15 kB / 0.6867 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/1.033, allocations: 336.3 kB / 0.687 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.035, allocations: 437.2 kB / 0.6874 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.036, allocations: 0.5364 MB / 0.688 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.037, allocations: 471.8 kB / 0.6884 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.037, allocations: 1.781 kB / 0.6884 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.02011/1.057, allocations: 4.19 MB / 0.6925 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/1.058, allocations: 7.75 kB / 0.6925 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.058, allocations: 3.75 kB / 0.6925 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009408/1.067, allocations: 1.79 MB / 0.6943 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.069, allocations: 164.5 kB / 0.6944 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/1.093, allocations: 7.102 MB / 0.7014 GB, free: 97.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/1.095, allocations: 204.2 kB / 0.7016 GB, free: 97.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.095, allocations: 30.47 kB / 0.7016 GB, free: 97.71 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "Rotor angle" 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 (73): * Single equations (assignments): 72 * 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 prepare postOptimizeDAE: time 0.0003898/1.096, allocations: 150.7 kB / 0.7017 GB, free: 97.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/1.096, allocations: 123.2 kB / 0.7018 GB, free: 97.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/1.116, allocations: 4.205 MB / 0.7059 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/1.116, allocations: 8 kB / 0.706 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.116, allocations: 3.625 kB / 0.706 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.714e-05/1.116, allocations: 14.58 kB / 0.706 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/1.138, allocations: 5.794 MB / 0.7116 GB, free: 91.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/1.138, allocations: 0 / 0.7116 GB, free: 91.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.139, allocations: 145.5 kB / 0.7118 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008233/1.148, allocations: 1.685 MB / 0.7134 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/1.148, allocations: 16 kB / 0.7134 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.167, allocations: 6.329 MB / 0.7196 GB, free: 84.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.168, allocations: 0 / 0.7196 GB, free: 84.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/1.189, allocations: 4.954 MB / 0.7245 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/1.19, allocations: 214 kB / 0.7247 GB, free: 80.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.191, allocations: 12 kB / 0.7247 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.193, allocations: 158 kB / 0.7248 GB, free: 80.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/1.194, allocations: 218.6 kB / 0.725 GB, free: 79.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.194, allocations: 20 kB / 0.725 GB, free: 79.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001337/1.196, allocations: 0.5789 MB / 0.7256 GB, free: 79.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.196, allocations: 0 / 0.7256 GB, free: 79.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002037/1.198, allocations: 417.2 kB / 0.726 GB, free: 78.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0003909/1.198, allocations: 154.1 kB / 0.7262 GB, free: 78.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008524/1.207, allocations: 2.002 MB / 0.7281 GB, free: 76.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.207, allocations: 0 / 0.7281 GB, free: 76.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00657/1.213, allocations: 1.492 MB / 0.7296 GB, free: 75.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.214, allocations: 81.73 kB / 0.7296 GB, free: 75.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/1.219, allocations: 1.385 MB / 0.731 GB, free: 73.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/1.219, allocations: 1.115 MB / 0.7321 GB, free: 72.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005688/1.22, allocations: 64.64 kB / 0.7321 GB, free: 72.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/1.22, allocations: 51.42 kB / 0.7322 GB, free: 72.66 MB / 490.7 MB Notification: Performance of SimCode: time 3.557e-06/1.22, allocations: 4 kB / 0.7322 GB, free: 72.66 MB / 490.7 MB Notification: Performance of Templates: time 0.03936/1.26, allocations: 19.31 MB / 0.7511 GB, free: 53.66 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)