Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 180.2 kB / 7.651 MB, free: 1.418 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.458/1.458, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.0009698/0.0009699, allocations: 98.98 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.593/0.593, allocations: 78.93 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.657e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 69.51 MB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.5481, allocations: 98.79 MB / 0.6389 GB, free: 15.33 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5484, allocations: 75.95 kB / 0.639 GB, free: 15.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07037/0.6188, allocations: 26.23 MB / 0.6646 GB, free: 5.074 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6189, allocations: 4 kB / 0.6646 GB, free: 5.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.23e-05/0.6189, allocations: 20 kB / 0.6646 GB, free: 5.051 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.004564/0.6235, allocations: 1.782 MB / 0.6663 GB, free: 3.223 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6235, allocations: 8.031 kB / 0.6664 GB, free: 3.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.6267, allocations: 0.5564 MB / 0.6669 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.6282, allocations: 0.7364 MB / 0.6676 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.6285, allocations: 240.7 kB / 0.6678 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6286, allocations: 51.86 kB / 0.6679 GB, free: 1.543 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001478/0.6301, allocations: 0.8202 MB / 0.6687 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6315, allocations: 0.7649 MB / 0.6694 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6315, allocations: 0 / 0.6694 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.6316, allocations: 4 kB / 0.6695 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.6316, allocations: 20.84 kB / 0.6695 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006481/0.6381, allocations: 3.456 MB / 0.6728 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.6395, allocations: 1.195 MB / 0.674 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.6403, allocations: 0.563 MB / 0.6746 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.6404, allocations: 16.77 kB / 0.6746 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6404, allocations: 43.33 kB / 0.6746 GB, free: 10.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.986e-06/0.6404, allocations: 0 / 0.6746 GB, free: 10.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.0121/0.6525, allocations: 4.009 MB / 0.6785 GB, free: 6.367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6526, allocations: 60.19 kB / 0.6786 GB, free: 6.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.6538, allocations: 0.6802 MB / 0.6793 GB, free: 5.598 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.654, allocations: 25.7 kB / 0.6793 GB, free: 5.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.6544, allocations: 0.5048 MB / 0.6798 GB, free: 5.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.6548, allocations: 335 kB / 0.6801 GB, free: 4.723 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.6549, allocations: 0 / 0.6801 GB, free: 4.723 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.655, allocations: 337.9 kB / 0.6804 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.6557, allocations: 430.6 kB / 0.6808 GB, free: 3.965 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.6565, allocations: 0.5243 MB / 0.6813 GB, free: 3.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.6572, allocations: 467.6 kB / 0.6818 GB, free: 2.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6573, allocations: 4 kB / 0.6818 GB, free: 2.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01223/0.6695, allocations: 4.122 MB / 0.6858 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.6696, allocations: 15.89 kB / 0.6858 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6696, allocations: 0 / 0.6858 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/0.6751, allocations: 1.686 MB / 0.6875 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.676, allocations: 159.8 kB / 0.6876 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.6907, allocations: 7.057 MB / 0.6945 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.6926, allocations: 187.1 kB / 0.6947 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.6927, allocations: 31.98 kB / 0.6947 GB, free: 5.559 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "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 () * 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.0003704/0.6931, allocations: 122.4 kB / 0.6948 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.6933, allocations: 118.6 kB / 0.695 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.7057, allocations: 4.139 MB / 0.699 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.7057, allocations: 13.58 kB / 0.699 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7057, allocations: 4 kB / 0.699 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.7058, allocations: 7.938 kB / 0.699 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.7199, allocations: 5.648 MB / 0.7045 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.72, allocations: 0 / 0.7045 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/0.7208, allocations: 147.8 kB / 0.7047 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005247/0.7261, allocations: 1.667 MB / 0.7063 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.7263, allocations: 11.98 kB / 0.7063 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.7386, allocations: 6.182 MB / 0.7124 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.7387, allocations: 3.953 kB / 0.7124 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.752, allocations: 4.869 MB / 0.7171 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.7525, allocations: 207.4 kB / 0.7173 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.7527, allocations: 3.984 kB / 0.7173 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7538, allocations: 143.8 kB / 0.7175 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007417/0.7546, allocations: 220.9 kB / 0.7177 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/0.7547, allocations: 24 kB / 0.7177 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007957/0.7555, allocations: 0.5147 MB / 0.7182 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7555, allocations: 1.031 kB / 0.7182 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00151/0.757, allocations: 395.5 kB / 0.7186 GB, free: 12.82 MB / 0.5261 GB 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 () * 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.0003387/0.7574, allocations: 127.1 kB / 0.7187 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005177/0.7625, allocations: 1.956 MB / 0.7206 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7626, allocations: 0 / 0.7206 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.7668, allocations: 1.448 MB / 0.722 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.7675, allocations: 64.36 kB / 0.7221 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.7703, allocations: 1.498 MB / 0.7235 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.7709, allocations: 1.122 MB / 0.7246 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003254/0.7713, allocations: 70.78 kB / 0.7247 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.7715, allocations: 51.42 kB / 0.7247 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of SimCode: time 9.81e-07/0.7715, allocations: 0 / 0.7247 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of Templates: time 0.02846/0.8, allocations: 18.11 MB / 0.7424 GB, free: 4.48 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)