Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 176 kB / 16.12 MB, free: 5.691 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.328/1.328, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0006941/0.0006941, allocations: 93.5 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3028/0.3028, allocations: 42.28 MB / 361.2 MB, free: 49.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 15.94 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4577, allocations: 94.64 MB / 0.568 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.458, allocations: 87.08 kB / 0.5681 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0709/0.5289, allocations: 24.84 MB / 0.5923 GB, free: 4.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.529, allocations: 0 / 0.5923 GB, free: 4.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.5291, allocations: 24 kB / 0.5924 GB, free: 4.078 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006213/0.5353, allocations: 1.943 MB / 0.5943 GB, free: 2.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5354, allocations: 8.031 kB / 0.5943 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.5391, allocations: 0.5603 MB / 0.5948 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.5416, allocations: 0.8491 MB / 0.5956 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.542, allocations: 269.4 kB / 0.5959 GB, free: 316 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/0.5424, allocations: 72 kB / 0.596 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.5455, allocations: 1.2 MB / 0.5971 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.5455, allocations: 0 / 0.5971 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.5456, allocations: 35.98 kB / 0.5972 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.5457, allocations: 16 kB / 0.5972 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.5483, allocations: 1.16 MB / 0.5983 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007237/0.5556, allocations: 3.51 MB / 0.6017 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.558, allocations: 1.508 MB / 0.6032 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.5596, allocations: 0.8242 MB / 0.604 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.5597, allocations: 16.97 kB / 0.604 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5597, allocations: 43.56 kB / 0.6041 GB, free: 7.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.495e-06/0.5598, allocations: 0 / 0.6041 GB, free: 7.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02613/0.5859, allocations: 7.798 MB / 0.6117 GB, free: 15.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.586, allocations: 98.05 kB / 0.6118 GB, free: 15.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.5879, allocations: 0.9069 MB / 0.6127 GB, free: 14.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5882, allocations: 41.7 kB / 0.6127 GB, free: 14.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.5887, allocations: 0.4891 MB / 0.6132 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.5893, allocations: 319.3 kB / 0.6135 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.5894, allocations: 16 kB / 0.6135 GB, free: 13.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5895, allocations: 334 kB / 0.6138 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.5911, allocations: 0.6812 MB / 0.6145 GB, free: 12.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.5927, allocations: 0.7844 MB / 0.6153 GB, free: 12.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/0.6068, allocations: 4.449 MB / 0.6196 GB, free: 7.574 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.6069, allocations: 0 / 0.6196 GB, free: 7.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01461/0.6215, allocations: 4.83 MB / 0.6243 GB, free: 2.727 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6217, allocations: 156.3 kB / 0.6245 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6217, allocations: 0 / 0.6245 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006494/0.6282, allocations: 2.094 MB / 0.6265 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/0.6291, allocations: 143.8 kB / 0.6266 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.6517, allocations: 9.491 MB / 0.6359 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.6535, allocations: 199.1 kB / 0.6361 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.6537, allocations: 28 kB / 0.6361 GB, free: 6.457 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6537, allocations: 4 kB / 0.6361 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01405/0.6678, allocations: 4.668 MB / 0.6407 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.6679, allocations: 0 / 0.6407 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006907/0.6748, allocations: 2.093 MB / 0.6427 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.6758, allocations: 139.8 kB / 0.6429 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.6983, allocations: 9.514 MB / 0.6522 GB, free: 5.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6998, allocations: 187.2 kB / 0.6523 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.7, allocations: 31.98 kB / 0.6524 GB, free: 5.676 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 70 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008289/0.7009, allocations: 318 kB / 0.6527 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/0.7013, allocations: 122.5 kB / 0.6528 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.7153, allocations: 4.846 MB / 0.6575 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.7154, allocations: 11.94 kB / 0.6575 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.7154, allocations: 0 / 0.6575 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.7154, allocations: 3.984 kB / 0.6575 GB, free: 360 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.732, allocations: 6.476 MB / 0.6639 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.7321, allocations: 0 / 0.6639 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.7329, allocations: 119.8 kB / 0.664 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006204/0.7391, allocations: 2.061 MB / 0.666 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.7394, allocations: 16 kB / 0.666 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.235/0.9744, allocations: 8.185 MB / 0.674 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9745, allocations: 3.75 kB / 0.674 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/0.9915, allocations: 5.861 MB / 0.6797 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.992, allocations: 208.6 kB / 0.6799 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.9922, allocations: 18.53 kB / 0.6799 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.9934, allocations: 147.1 kB / 0.6801 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006201/0.9941, allocations: 206.3 kB / 0.6803 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.9942, allocations: 24.86 kB / 0.6803 GB, free: 124.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001127/0.9953, allocations: 0.6254 MB / 0.6809 GB, free: 124.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.9953, allocations: 0 / 0.6809 GB, free: 124.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002049/0.9974, allocations: 0.6655 MB / 0.6816 GB, free: 124.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0002877/0.9977, allocations: 154.4 kB / 0.6817 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.009, allocations: 4.234 MB / 0.6858 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.009, allocations: 1.688 kB / 0.6859 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/1.013, allocations: 1.744 MB / 0.6876 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.014, allocations: 104.4 kB / 0.6877 GB, free: 123.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.018, allocations: 2.502 MB / 0.6901 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/1.019, allocations: 1.103 MB / 0.6912 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000465/1.019, allocations: 96.27 kB / 0.6913 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/1.019, allocations: 55.88 kB / 0.6913 GB, free: 121.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.019, allocations: 0 / 0.6913 GB, free: 121.9 MB / 490.7 MB Notification: Performance of Templates: time 0.04896/1.068, allocations: 26.72 MB / 0.7174 GB, free: 120.5 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe 2>&1)