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.0008818/0.0008818, allocations: 176.1 kB / 7.643 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.292/1.292, 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.0008785/0.0008784, allocations: 88.34 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.06156/0.06156, 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.2741/0.2741, allocations: 78.06 MB / 450.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.353e-05, allocations: 0 / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 69.32 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.498, allocations: 99.67 MB / 0.6797 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4983, allocations: 79.28 kB / 0.6798 GB, free: 8.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06087/0.5592, allocations: 24.77 MB / 0.704 GB, free: 3.898 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5592, allocations: 0 / 0.704 GB, free: 3.898 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.462e-05/0.5593, allocations: 20 kB / 0.704 GB, free: 3.879 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005127/0.5645, allocations: 1.784 MB / 0.7058 GB, free: 2.172 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5645, allocations: 8.031 kB / 0.7058 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.5678, allocations: 0.564 MB / 0.7063 GB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.5694, allocations: 0.7442 MB / 0.707 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.5697, allocations: 238.9 kB / 0.7073 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.5699, allocations: 47.98 kB / 0.7073 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001455/0.5714, allocations: 0.8197 MB / 0.7081 GB, free: 184 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5728, allocations: 0.7581 MB / 0.7089 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5728, allocations: 3.938 kB / 0.7089 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.5729, allocations: 0 / 0.7089 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.573, allocations: 20 kB / 0.7089 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.5789, allocations: 3.429 MB / 0.7122 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.5802, allocations: 1.191 MB / 0.7134 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.5809, allocations: 0.5664 MB / 0.7139 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.581, allocations: 16.77 kB / 0.714 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.581, allocations: 47.09 kB / 0.714 GB, free: 11.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 2.094e-06/0.581, allocations: 4 kB / 0.714 GB, free: 11.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.0118/0.5928, allocations: 4.015 MB / 0.7179 GB, free: 8.133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.5929, allocations: 64.19 kB / 0.718 GB, free: 8.059 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.5937, allocations: 0.6741 MB / 0.7186 GB, free: 7.539 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.5938, allocations: 25.7 kB / 0.7187 GB, free: 7.508 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.5941, allocations: 0.5005 MB / 0.7192 GB, free: 7.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.5944, allocations: 336.8 kB / 0.7195 GB, free: 6.934 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.5945, allocations: 0 / 0.7195 GB, free: 6.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5946, allocations: 345.6 kB / 0.7198 GB, free: 6.605 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.5952, allocations: 433.4 kB / 0.7202 GB, free: 6.383 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.5959, allocations: 0.5206 MB / 0.7207 GB, free: 6.047 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.5966, allocations: 475.7 kB / 0.7212 GB, free: 5.785 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5966, allocations: 0 / 0.7212 GB, free: 5.785 MB / 458.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01158/0.6082, allocations: 4.135 MB / 0.7252 GB, free: 2.199 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6082, allocations: 4 kB / 0.7252 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.6082, allocations: 4 kB / 0.7252 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005203/0.6135, allocations: 1.673 MB / 0.7269 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.6142, allocations: 167.5 kB / 0.727 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.6281, allocations: 7.069 MB / 0.7339 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.6296, allocations: 191.2 kB / 0.7341 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.6297, allocations: 27.98 kB / 0.7341 GB, free: 11.04 MB / 474.7 MB 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.0003542/0.6301, allocations: 120.8 kB / 0.7342 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.6304, allocations: 118.5 kB / 0.7344 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.6426, allocations: 4.132 MB / 0.7384 GB, free: 6.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6427, allocations: 12 kB / 0.7384 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6427, allocations: 7.984 kB / 0.7384 GB, free: 6.641 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.6427, allocations: 3.984 kB / 0.7384 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.6565, allocations: 5.648 MB / 0.7439 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6565, allocations: 4 kB / 0.7439 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/0.6572, allocations: 147.8 kB / 0.7441 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004995/0.6622, allocations: 1.663 MB / 0.7457 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.6623, allocations: 0 / 0.7457 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.6742, allocations: 6.195 MB / 0.7518 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6742, allocations: 0 / 0.7518 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.6874, allocations: 4.896 MB / 0.7565 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.6878, allocations: 203.4 kB / 0.7567 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.688, allocations: 11.95 kB / 0.7567 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6892, allocations: 135.9 kB / 0.7569 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/0.6898, allocations: 216.9 kB / 0.7571 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.6898, allocations: 24 kB / 0.7571 GB, free: 3.207 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007006/0.6906, allocations: 0.5147 MB / 0.7576 GB, free: 2.684 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6906, allocations: 0 / 0.7576 GB, free: 2.684 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001255/0.6918, allocations: 395.4 kB / 0.758 GB, free: 2.297 MB / 490.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 () * 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.0002792/0.6921, allocations: 131 kB / 0.7581 GB, free: 2.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004964/0.6971, allocations: 1.953 MB / 0.76 GB, free: 204 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6971, allocations: 0 / 0.76 GB, free: 204 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004001/0.7011, allocations: 1.453 MB / 0.7614 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.7016, allocations: 62.05 kB / 0.7615 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.7045, allocations: 1.487 MB / 0.7629 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.7051, allocations: 1.118 MB / 0.764 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.7055, allocations: 69.56 kB / 0.7641 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.7057, allocations: 59.36 kB / 0.7642 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of SimCode: time 3.5e-07/0.7057, allocations: 4 kB / 0.7642 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.02714/0.7328, allocations: 18.1 MB / 0.7818 GB, free: 9.781 MB / 0.5105 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)