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.0009232/0.0009233, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.0007875/0.0007875, allocations: 94.48 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4494/0.4494, allocations: 78.11 MB / 409.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.498e-05, allocations: 7.938 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 69.36 MB / 0.5413 GB, free: 6.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4689, allocations: 98.94 MB / 0.638 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4692, allocations: 79.95 kB / 0.638 GB, free: 0.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06628/0.5355, allocations: 25.4 MB / 0.6628 GB, free: 7.352 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5355, allocations: 0 / 0.6628 GB, free: 7.352 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.71e-05/0.5356, allocations: 21.09 kB / 0.6629 GB, free: 7.332 MB / 474.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.004452/0.54, allocations: 1.715 MB / 0.6645 GB, free: 5.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5401, allocations: 12.03 kB / 0.6645 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.5433, allocations: 0.5565 MB / 0.6651 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.545, allocations: 0.7631 MB / 0.6658 GB, free: 4.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.5453, allocations: 236.2 kB / 0.6661 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.5454, allocations: 55.83 kB / 0.6661 GB, free: 3.859 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/0.5469, allocations: 0.8166 MB / 0.6669 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5483, allocations: 0.8446 MB / 0.6677 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5483, allocations: 0 / 0.6677 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.5484, allocations: 0 / 0.6677 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.5485, allocations: 20 kB / 0.6678 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005879/0.5543, allocations: 3.374 MB / 0.671 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.5557, allocations: 1.2 MB / 0.6722 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.5565, allocations: 0.5466 MB / 0.6728 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.5566, allocations: 16.78 kB / 0.6728 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5566, allocations: 47.27 kB / 0.6728 GB, free: 12.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.805e-06/0.5566, allocations: 1.219 kB / 0.6728 GB, free: 12.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01199/0.5686, allocations: 3.968 MB / 0.6767 GB, free: 8.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.5687, allocations: 89.89 kB / 0.6768 GB, free: 8.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.57, allocations: 0.7052 MB / 0.6775 GB, free: 7.898 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.5702, allocations: 25.7 kB / 0.6775 GB, free: 7.867 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.5706, allocations: 492.6 kB / 0.678 GB, free: 7.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/0.571, allocations: 307.4 kB / 0.6783 GB, free: 7.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.5711, allocations: 0 / 0.6783 GB, free: 7.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5713, allocations: 337.9 kB / 0.6786 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000726/0.572, allocations: 426.6 kB / 0.679 GB, free: 6.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.5728, allocations: 0.5233 MB / 0.6795 GB, free: 5.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.5736, allocations: 458.7 kB / 0.6799 GB, free: 5.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.5736, allocations: 4.562 kB / 0.6799 GB, free: 5.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01252/0.5862, allocations: 4.125 MB / 0.684 GB, free: 1.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003757/0.5866, allocations: 0.7957 MB / 0.6847 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.5866, allocations: 4.625 kB / 0.6847 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005898/0.5925, allocations: 1.666 MB / 0.6864 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.5934, allocations: 139.8 kB / 0.6865 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.6083, allocations: 7.059 MB / 0.6934 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.6098, allocations: 183.1 kB / 0.6936 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.61, allocations: 28 kB / 0.6936 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.61, allocations: 4 kB / 0.6936 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/0.6223, allocations: 3.964 MB / 0.6975 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6223, allocations: 4 kB / 0.6975 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005493/0.6278, allocations: 1.675 MB / 0.6991 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.6285, allocations: 127.8 kB / 0.6992 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.6427, allocations: 7.071 MB / 0.7061 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.6442, allocations: 163.3 kB / 0.7063 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.6443, allocations: 31.98 kB / 0.7063 GB, free: 9.965 MB / 0.5105 GB 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.0003372/0.6447, allocations: 122.3 kB / 0.7064 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.645, allocations: 110.6 kB / 0.7065 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.6573, allocations: 4.096 MB / 0.7105 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.6574, allocations: 8 kB / 0.7106 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6574, allocations: 0 / 0.7106 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-05/0.6574, allocations: 7.938 kB / 0.7106 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.6717, allocations: 5.615 MB / 0.716 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6717, allocations: 0 / 0.716 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/0.6724, allocations: 119.8 kB / 0.7162 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005119/0.6775, allocations: 1.665 MB / 0.7178 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.6777, allocations: 3.938 kB / 0.7178 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.6899, allocations: 6.186 MB / 0.7238 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6899, allocations: 5.547 kB / 0.7238 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.703, allocations: 4.85 MB / 0.7286 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.7034, allocations: 199.5 kB / 0.7288 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.7036, allocations: 4 kB / 0.7288 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.7048, allocations: 139.9 kB / 0.7289 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005478/0.7053, allocations: 200.4 kB / 0.7291 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.7054, allocations: 27.98 kB / 0.7291 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007362/0.7061, allocations: 0.5333 MB / 0.7296 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7062, allocations: 0 / 0.7296 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001793/0.708, allocations: 0.6122 MB / 0.7302 GB, free: 1.152 MB / 0.5261 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.0003055/0.7083, allocations: 130.9 kB / 0.7304 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008746/0.717, allocations: 3.415 MB / 0.7337 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.717, allocations: 0 / 0.7337 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003968/0.721, allocations: 1.432 MB / 0.7351 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.7218, allocations: 73.34 kB / 0.7352 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.7249, allocations: 1.606 MB / 0.7367 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.7256, allocations: 1.13 MB / 0.7378 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006715/0.7263, allocations: 165.4 kB / 0.738 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.7265, allocations: 43.44 kB / 0.738 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.7265, allocations: 0 / 0.738 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of Templates: time 0.2932/1.02, allocations: 26.39 MB / 0.7638 GB, free: 148.5 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)