Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005809/0.00581, allocations: 169.4 kB / 15.11 MB, free: 5.973 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.21/1.21, allocations: 223.2 MB / 239 MB, free: 1.754 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.0008826/0.0008824, allocations: 85.94 kB / 290.2 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4302/0.4302, allocations: 79.44 MB / 420.8 MB, free: 43.64 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 16 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3234, allocations: 69.5 MB / 0.5569 GB, free: 38.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.4317, allocations: 100.4 MB / 0.6549 GB, free: 5.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.432, allocations: 83.95 kB / 0.655 GB, free: 5.094 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06672/0.4987, allocations: 26.52 MB / 0.6809 GB, free: 10.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4987, allocations: 0 / 0.6809 GB, free: 10.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.445e-05/0.4988, allocations: 20 kB / 0.6809 GB, free: 10.43 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.005359/0.5042, allocations: 1.948 MB / 0.6828 GB, free: 8.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.5042, allocations: 8.031 kB / 0.6828 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/0.5075, allocations: 0.5565 MB / 0.6834 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.5094, allocations: 0.7942 MB / 0.6842 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.5097, allocations: 272.2 kB / 0.6844 GB, free: 6.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.5099, allocations: 72.34 kB / 0.6845 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.5124, allocations: 1.2 MB / 0.6857 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5124, allocations: 3.984 kB / 0.6857 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.5125, allocations: 24 kB / 0.6857 GB, free: 5.402 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5125, allocations: 20 kB / 0.6857 GB, free: 5.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.515, allocations: 1.167 MB / 0.6868 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/0.5213, allocations: 3.541 MB / 0.6903 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.5235, allocations: 1.501 MB / 0.6918 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.5236, allocations: 24.97 kB / 0.6918 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5237, allocations: 43.56 kB / 0.6918 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 2.184e-06/0.5237, allocations: 0 / 0.6918 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.02463/0.5483, allocations: 7.755 MB / 0.6994 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.5484, allocations: 86.11 kB / 0.6995 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.5498, allocations: 0.7997 MB / 0.7003 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.55, allocations: 41.7 kB / 0.7003 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.5504, allocations: 488.8 kB / 0.7008 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.5508, allocations: 319.4 kB / 0.7011 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.5509, allocations: 16 kB / 0.7011 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.551, allocations: 345.9 kB / 0.7014 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5525, allocations: 0.6735 MB / 0.7021 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.554, allocations: 0.7882 MB / 0.7029 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.5555, allocations: 0.7078 MB / 0.7035 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5556, allocations: 0 / 0.7035 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01464/0.5702, allocations: 4.875 MB / 0.7083 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003815/0.5706, allocations: 0.7985 MB / 0.7091 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5707, allocations: 3.953 kB / 0.7091 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006596/0.5773, allocations: 2.102 MB / 0.7111 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.578, allocations: 139.8 kB / 0.7113 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.5996, allocations: 9.983 MB / 0.721 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.6011, allocations: 195.2 kB / 0.7212 GB, free: 424 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.6012, allocations: 35.98 kB / 0.7212 GB, free: 388 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.6012, allocations: 4 kB / 0.7212 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/0.6148, allocations: 4.715 MB / 0.7259 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.6149, allocations: 8 kB / 0.7259 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00633/0.6212, allocations: 2.086 MB / 0.7279 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.6219, allocations: 131.8 kB / 0.728 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/0.6432, allocations: 9.953 MB / 0.7377 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6446, allocations: 183.2 kB / 0.7379 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.6447, allocations: 35.98 kB / 0.738 GB, free: 15.12 MB / 0.5417 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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 (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.0006099/0.6454, allocations: 312.9 kB / 0.7383 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.6457, allocations: 122.5 kB / 0.7384 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.6592, allocations: 4.854 MB / 0.7431 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6592, allocations: 8 kB / 0.7431 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.6592, allocations: 0 / 0.7431 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6593, allocations: 11.98 kB / 0.7431 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.6764, allocations: 6.468 MB / 0.7494 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6764, allocations: 0 / 0.7494 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.677, allocations: 111.9 kB / 0.7495 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005921/0.683, allocations: 2.06 MB / 0.7516 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.6831, allocations: 23.98 kB / 0.7516 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.7015, allocations: 8.628 MB / 0.76 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7015, allocations: 0 / 0.76 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.7166, allocations: 5.841 MB / 0.7657 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.7171, allocations: 199.5 kB / 0.7659 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.7173, allocations: 20 kB / 0.7659 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7185, allocations: 151.9 kB / 0.7661 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/0.7191, allocations: 204.5 kB / 0.7663 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.7192, allocations: 31.92 kB / 0.7663 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001038/0.7202, allocations: 0.6313 MB / 0.7669 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7202, allocations: 0 / 0.7669 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001864/0.7221, allocations: 0.6747 MB / 0.7676 GB, free: 436 kB / 0.5573 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 () * 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.0002884/0.7224, allocations: 142.2 kB / 0.7677 GB, free: 288 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2146/0.937, allocations: 4.248 MB / 0.7719 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.937, allocations: 0 / 0.7719 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004872/0.9419, allocations: 1.749 MB / 0.7736 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.9427, allocations: 88.8 kB / 0.7736 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.9461, allocations: 2.521 MB / 0.7761 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.9466, allocations: 1.131 MB / 0.7772 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003873/0.947, allocations: 93.88 kB / 0.7773 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.9472, allocations: 55.89 kB / 0.7774 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.9472, allocations: 0 / 0.7774 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03664/0.9839, allocations: 26.67 MB / 0.8034 GB, free: 145.4 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)