Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005124/0.005124, allocations: 170 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.168/1.168, allocations: 223.2 MB / 239 MB, free: 1.801 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.0009098/0.0009097, allocations: 100.9 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4016/0.4016, allocations: 78.51 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 20 kB / 499.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 69.34 MB / 0.5557 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.397, allocations: 99.69 MB / 0.6531 GB, free: 6.699 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.3973, allocations: 79.95 kB / 0.6531 GB, free: 6.621 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06654/0.4638, allocations: 25.83 MB / 0.6784 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4639, allocations: 4 kB / 0.6784 GB, free: 12.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.396e-05/0.464, allocations: 19.94 kB / 0.6784 GB, free: 12.64 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.004787/0.4688, allocations: 1.944 MB / 0.6803 GB, free: 10.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4688, allocations: 8.031 kB / 0.6803 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.4718, allocations: 0.5565 MB / 0.6808 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.4735, allocations: 0.8059 MB / 0.6816 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.4738, allocations: 264.2 kB / 0.6819 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4739, allocations: 72.34 kB / 0.6819 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.4761, allocations: 1.192 MB / 0.6831 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4761, allocations: 0 / 0.6831 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.4762, allocations: 32 kB / 0.6831 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.4762, allocations: 19.94 kB / 0.6832 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.4785, allocations: 1.171 MB / 0.6843 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.4842, allocations: 3.51 MB / 0.6877 GB, free: 2.758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.4864, allocations: 1.504 MB / 0.6892 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.765e-05/0.4865, allocations: 24.97 kB / 0.6892 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4865, allocations: 39.56 kB / 0.6893 GB, free: 1.062 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.256e-06/0.4865, allocations: 0 / 0.6893 GB, free: 1.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.0241/0.5106, allocations: 7.768 MB / 0.6968 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.5107, allocations: 86.11 kB / 0.6969 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.512, allocations: 0.7998 MB / 0.6977 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.5122, allocations: 41.7 kB / 0.6977 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.5126, allocations: 484.8 kB / 0.6982 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.5129, allocations: 319.4 kB / 0.6985 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.513, allocations: 16 kB / 0.6985 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5131, allocations: 341.9 kB / 0.6989 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.5145, allocations: 0.6774 MB / 0.6995 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.5159, allocations: 0.7882 MB / 0.7003 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.5174, allocations: 0.7078 MB / 0.701 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5174, allocations: 0 / 0.701 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0132/0.5306, allocations: 4.887 MB / 0.7057 GB, free: 32 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002861/0.5309, allocations: 0.7901 MB / 0.7065 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5309, allocations: 8 kB / 0.7065 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006139/0.5371, allocations: 2.095 MB / 0.7086 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.5378, allocations: 139.8 kB / 0.7087 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.558, allocations: 9.996 MB / 0.7185 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5594, allocations: 199.1 kB / 0.7187 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.5595, allocations: 31.98 kB / 0.7187 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5595, allocations: 4 kB / 0.7187 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01267/0.5722, allocations: 4.715 MB / 0.7233 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5722, allocations: 4 kB / 0.7233 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005981/0.5782, allocations: 2.086 MB / 0.7253 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.5789, allocations: 127.8 kB / 0.7255 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.5986, allocations: 9.962 MB / 0.7352 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.5999, allocations: 195.2 kB / 0.7354 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/0.6, allocations: 27.98 kB / 0.7354 GB, free: 1.328 MB / 0.5261 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.0005282/0.6005, allocations: 312.9 kB / 0.7357 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.6007, allocations: 114.6 kB / 0.7358 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.6133, allocations: 4.858 MB / 0.7406 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.6133, allocations: 12 kB / 0.7406 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6133, allocations: 0 / 0.7406 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6134, allocations: 7.984 kB / 0.7406 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.6279, allocations: 6.479 MB / 0.7469 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.6279, allocations: 0 / 0.7469 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.6286, allocations: 115.9 kB / 0.747 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005693/0.6343, allocations: 2.053 MB / 0.749 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6344, allocations: 24 kB / 0.749 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/0.6516, allocations: 8.616 MB / 0.7575 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6516, allocations: 0 / 0.7575 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.6664, allocations: 5.864 MB / 0.7632 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.6669, allocations: 207.5 kB / 0.7634 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.6671, allocations: 16 kB / 0.7634 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.6682, allocations: 151.9 kB / 0.7635 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/0.6688, allocations: 204.6 kB / 0.7637 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.6688, allocations: 24 kB / 0.7638 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009003/0.6697, allocations: 0.6274 MB / 0.7644 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6697, allocations: 0 / 0.7644 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001663/0.6714, allocations: 0.667 MB / 0.765 GB, free: 2.633 MB / 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.0002473/0.6717, allocations: 159 kB / 0.7652 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2039/0.8756, allocations: 4.245 MB / 0.7693 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8756, allocations: 2.625 kB / 0.7693 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004797/0.8804, allocations: 1.746 MB / 0.771 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.8812, allocations: 92.44 kB / 0.7711 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.8851, allocations: 2.522 MB / 0.7736 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.8858, allocations: 1.131 MB / 0.7747 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004858/0.8863, allocations: 93.25 kB / 0.7748 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.8865, allocations: 52.73 kB / 0.7748 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.114e-06/0.8865, allocations: 0 / 0.7748 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.03826/0.9248, allocations: 26.68 MB / 0.8009 GB, free: 145.6 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)