Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.007715/0.007715, allocations: 170 kB / 15.11 MB, free: 6.039 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.306/1.306, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008897/0.0008893, allocations: 100.3 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4472/0.4472, allocations: 78.58 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003779, allocations: 8 kB / 499.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3447, allocations: 69.36 MB / 0.5558 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4628, allocations: 99.68 MB / 0.6531 GB, free: 6.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4631, allocations: 84.67 kB / 0.6532 GB, free: 6.727 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06585/0.5289, allocations: 25.82 MB / 0.6784 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.529, allocations: 0 / 0.6784 GB, free: 12.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.702e-05/0.529, allocations: 23.94 kB / 0.6784 GB, free: 12.75 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.004974/0.534, allocations: 1.948 MB / 0.6803 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5341, allocations: 12.03 kB / 0.6804 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.5373, allocations: 0.5526 MB / 0.6809 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.5392, allocations: 0.7943 MB / 0.6817 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.5395, allocations: 264.2 kB / 0.6819 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.5396, allocations: 72.34 kB / 0.682 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.542, allocations: 1.196 MB / 0.6832 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.542, allocations: 0 / 0.6832 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.5421, allocations: 32 kB / 0.6832 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5421, allocations: 20 kB / 0.6832 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.5445, allocations: 1.167 MB / 0.6843 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006111/0.5506, allocations: 3.514 MB / 0.6878 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.5528, allocations: 1.514 MB / 0.6893 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.5529, allocations: 9 kB / 0.6893 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.553, allocations: 39.56 kB / 0.6893 GB, free: 1.184 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.806e-06/0.553, allocations: 0 / 0.6893 GB, free: 1.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02454/0.5775, allocations: 7.764 MB / 0.6969 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.5776, allocations: 86.11 kB / 0.697 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.5789, allocations: 0.7998 MB / 0.6977 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.5791, allocations: 41.7 kB / 0.6978 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.5794, allocations: 492.8 kB / 0.6983 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.5798, allocations: 319.3 kB / 0.6986 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.5798, allocations: 16 kB / 0.6986 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5799, allocations: 341.9 kB / 0.6989 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.5814, allocations: 0.6735 MB / 0.6996 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.5828, allocations: 0.7844 MB / 0.7003 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.5843, allocations: 0.7195 MB / 0.701 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5843, allocations: 4 kB / 0.701 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01365/0.5979, allocations: 4.883 MB / 0.7058 GB, free: 148 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.5982, allocations: 0.794 MB / 0.7066 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5982, allocations: 3.984 kB / 0.7066 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/0.6045, allocations: 2.087 MB / 0.7086 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.6053, allocations: 143.8 kB / 0.7088 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/0.6263, allocations: 9.993 MB / 0.7185 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.6278, allocations: 207.1 kB / 0.7187 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.6279, allocations: 24 kB / 0.7187 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.6279, allocations: 9.656 kB / 0.7187 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01345/0.6413, allocations: 4.719 MB / 0.7234 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6414, allocations: 4 kB / 0.7234 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006318/0.6477, allocations: 2.093 MB / 0.7254 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.6484, allocations: 127.9 kB / 0.7255 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.669, allocations: 9.957 MB / 0.7352 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6705, allocations: 187.2 kB / 0.7354 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.6706, allocations: 28 kB / 0.7355 GB, free: 1.445 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.0005594/0.6712, allocations: 310.6 kB / 0.7357 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.6714, allocations: 118.6 kB / 0.7359 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.685, allocations: 4.854 MB / 0.7406 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.685, allocations: 12 kB / 0.7406 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.685, allocations: 0 / 0.7406 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.6851, allocations: 7.969 kB / 0.7406 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.7003, allocations: 6.475 MB / 0.7469 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.7004, allocations: 3.984 kB / 0.7469 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.7011, allocations: 119.9 kB / 0.7471 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006017/0.7071, allocations: 2.053 MB / 0.7491 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.7073, allocations: 19.98 kB / 0.7491 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.7257, allocations: 8.62 MB / 0.7575 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7258, allocations: 8 kB / 0.7575 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.7417, allocations: 5.86 MB / 0.7632 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.7421, allocations: 207.5 kB / 0.7634 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.7423, allocations: 19.98 kB / 0.7635 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.7434, allocations: 147.9 kB / 0.7636 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006061/0.744, allocations: 208.6 kB / 0.7638 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.7441, allocations: 16 kB / 0.7638 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009696/0.7451, allocations: 0.6313 MB / 0.7644 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7451, allocations: 0 / 0.7644 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001745/0.7469, allocations: 0.6669 MB / 0.7651 GB, free: 2.742 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.0002735/0.7471, allocations: 158.5 kB / 0.7652 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2159/0.963, allocations: 4.249 MB / 0.7694 GB, free: 149.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9631, allocations: 0 / 0.7694 GB, free: 149.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00493/0.968, allocations: 1.751 MB / 0.7711 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.9688, allocations: 90.84 kB / 0.7712 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.9727, allocations: 2.517 MB / 0.7736 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.9734, allocations: 1.127 MB / 0.7747 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004892/0.9739, allocations: 93.14 kB / 0.7748 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.9741, allocations: 57.12 kB / 0.7749 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.163e-06/0.9741, allocations: 2.062 kB / 0.7749 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03835/1.012, allocations: 26.68 MB / 0.8009 GB, free: 146 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)