Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.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.001206/0.001206, 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 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008166/0.0008166, allocations: 89.84 kB / 266.6 MB, free: 9.281 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.06769/0.06769, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2865/0.2865, allocations: 78.02 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.893e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.09915, allocations: 69.33 MB / 0.5895 GB, free: 2.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4552, allocations: 101.2 MB / 0.6883 GB, free: 14.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4554, allocations: 82.52 kB / 0.6884 GB, free: 14.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06591/0.5213, allocations: 24.99 MB / 0.7128 GB, free: 9.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5214, allocations: 0 / 0.7128 GB, free: 9.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.937e-05/0.5214, allocations: 21.31 kB / 0.7128 GB, free: 9.055 MB / 458.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.00436/0.5258, allocations: 1.717 MB / 0.7145 GB, free: 7.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.5258, allocations: 11.98 kB / 0.7145 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.5291, allocations: 0.5519 MB / 0.715 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.5305, allocations: 0.7765 MB / 0.7158 GB, free: 6.207 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.5308, allocations: 264.6 kB / 0.716 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.5309, allocations: 72.12 kB / 0.7161 GB, free: 5.895 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5325, allocations: 0.9414 MB / 0.717 GB, free: 5.277 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5325, allocations: 0 / 0.717 GB, free: 5.277 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.5326, allocations: 27.94 kB / 0.7171 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.5327, allocations: 20 kB / 0.7171 GB, free: 5.254 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.5341, allocations: 0.8647 MB / 0.7179 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005781/0.5399, allocations: 3.515 MB / 0.7214 GB, free: 1.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5414, allocations: 1.236 MB / 0.7226 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.5422, allocations: 0.5789 MB / 0.7231 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.5423, allocations: 16.75 kB / 0.7231 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5423, allocations: 46.23 kB / 0.7232 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 2.295e-06/0.5423, allocations: 0 / 0.7232 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01212/0.5545, allocations: 4.036 MB / 0.7271 GB, free: 13.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5545, allocations: 85.89 kB / 0.7272 GB, free: 12.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/0.5555, allocations: 0.7631 MB / 0.728 GB, free: 12.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.5556, allocations: 35.95 kB / 0.728 GB, free: 12.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.5559, allocations: 0.4965 MB / 0.7285 GB, free: 12.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.5562, allocations: 315.4 kB / 0.7288 GB, free: 11.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.5563, allocations: 16.62 kB / 0.7288 GB, free: 11.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5564, allocations: 341.1 kB / 0.7291 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.5571, allocations: 438.9 kB / 0.7295 GB, free: 11.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.5579, allocations: 0.538 MB / 0.7301 GB, free: 10.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.5587, allocations: 476.6 kB / 0.7305 GB, free: 10.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5587, allocations: 32 / 0.7305 GB, free: 10.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01237/0.5711, allocations: 4.208 MB / 0.7346 GB, free: 7.012 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.5714, allocations: 0.7988 MB / 0.7354 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5714, allocations: 0 / 0.7354 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005618/0.577, allocations: 1.71 MB / 0.7371 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.5777, allocations: 143.3 kB / 0.7372 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.5922, allocations: 7.262 MB / 0.7443 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.5937, allocations: 199.1 kB / 0.7445 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.5938, allocations: 31.98 kB / 0.7445 GB, free: 14.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.5938, allocations: 4 kB / 0.7445 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/0.6061, allocations: 4.058 MB / 0.7485 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6062, allocations: 4 kB / 0.7485 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005608/0.6118, allocations: 1.714 MB / 0.7502 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.6125, allocations: 131.8 kB / 0.7503 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.627, allocations: 7.252 MB / 0.7574 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.6286, allocations: 195.1 kB / 0.7576 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.6288, allocations: 28 kB / 0.7576 GB, free: 1.277 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.000297/0.6291, allocations: 144.9 kB / 0.7577 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6293, allocations: 118.5 kB / 0.7578 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.6419, allocations: 4.177 MB / 0.7619 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.642, allocations: 12 kB / 0.7619 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.642, allocations: 0 / 0.7619 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.642, allocations: 3.984 kB / 0.7619 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.6564, allocations: 5.786 MB / 0.7676 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6564, allocations: 3.938 kB / 0.7676 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.6571, allocations: 119.8 kB / 0.7677 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005273/0.6623, allocations: 1.683 MB / 0.7694 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.6625, allocations: 19.98 kB / 0.7694 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.6752, allocations: 6.313 MB / 0.7755 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6753, allocations: 0 / 0.7755 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.689, allocations: 4.928 MB / 0.7803 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.6894, allocations: 211.5 kB / 0.7805 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.6895, allocations: 20 kB / 0.7806 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6907, allocations: 147.9 kB / 0.7807 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005665/0.6913, allocations: 200.4 kB / 0.7809 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.6914, allocations: 24 kB / 0.7809 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007899/0.6922, allocations: 0.5932 MB / 0.7815 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6922, allocations: 0 / 0.7815 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001683/0.6939, allocations: 0.6709 MB / 0.7822 GB, free: 7.75 MB / 0.5105 GB 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 () * 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.0002665/0.6941, allocations: 151.1 kB / 0.7823 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009293/0.7034, allocations: 3.529 MB / 0.7857 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7035, allocations: 4 kB / 0.7858 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004125/0.7076, allocations: 1.481 MB / 0.7872 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.7082, allocations: 88.22 kB / 0.7873 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.7113, allocations: 1.644 MB / 0.7889 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.7119, allocations: 1.134 MB / 0.79 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006591/0.7126, allocations: 160.7 kB / 0.7901 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.7127, allocations: 43.44 kB / 0.7902 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of SimCode: time 3.4e-07/0.7128, allocations: 0 / 0.7902 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.03941/0.7522, allocations: 28.52 MB / 0.818 GB, free: 2.898 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)