Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004657/0.004657, allocations: 170.8 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.234/1.234, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008327/0.0008324, allocations: 92.92 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 12 kB / 499.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3396, allocations: 69.35 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4666, allocations: 99.39 MB / 0.6528 GB, free: 7.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.467, allocations: 87.94 kB / 0.6529 GB, free: 7.008 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06661/0.5336, allocations: 25.7 MB / 0.678 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5336, allocations: 4 kB / 0.678 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.642e-05/0.5337, allocations: 16 kB / 0.678 GB, free: 13.16 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005622/0.5394, allocations: 1.936 MB / 0.6799 GB, free: 11.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5394, allocations: 12.03 kB / 0.6799 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.5428, allocations: 0.5604 MB / 0.6805 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.5447, allocations: 0.7865 MB / 0.6812 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.545, allocations: 272.4 kB / 0.6815 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.5453, allocations: 76 kB / 0.6816 GB, free: 9.379 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.5478, allocations: 1.18 MB / 0.6827 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5478, allocations: 0 / 0.6827 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.548, allocations: 35.94 kB / 0.6828 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.548, allocations: 23.98 kB / 0.6828 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.5505, allocations: 1.156 MB / 0.6839 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006696/0.5572, allocations: 3.517 MB / 0.6874 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.5595, allocations: 1.501 MB / 0.6888 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.5596, allocations: 12.98 kB / 0.6888 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.5596, allocations: 47.55 kB / 0.6889 GB, free: 1.613 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.073e-06/0.5596, allocations: 0 / 0.6889 GB, free: 1.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02756/0.5872, allocations: 8.251 MB / 0.6969 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.5873, allocations: 86.11 kB / 0.697 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.5886, allocations: 0.804 MB / 0.6978 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.5888, allocations: 37.7 kB / 0.6978 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.5891, allocations: 496.7 kB / 0.6983 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.5895, allocations: 311.4 kB / 0.6986 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.5895, allocations: 16 kB / 0.6986 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5896, allocations: 337.9 kB / 0.6989 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.5911, allocations: 0.6774 MB / 0.6996 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.5925, allocations: 0.7766 MB / 0.7004 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.5939, allocations: 0.7165 MB / 0.7011 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5939, allocations: 0 / 0.7011 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0135/0.6074, allocations: 4.821 MB / 0.7058 GB, free: 172 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.6078, allocations: 0.7915 MB / 0.7065 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6078, allocations: 11.98 kB / 0.7066 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006652/0.6144, allocations: 2.095 MB / 0.7086 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.6152, allocations: 147.7 kB / 0.7087 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.6365, allocations: 9.98 MB / 0.7185 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.638, allocations: 203.1 kB / 0.7187 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.6381, allocations: 31.98 kB / 0.7187 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.6381, allocations: 4 kB / 0.7187 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01299/0.6511, allocations: 4.66 MB / 0.7233 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6511, allocations: 4 kB / 0.7233 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/0.6572, allocations: 2.098 MB / 0.7253 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.658, allocations: 139.8 kB / 0.7255 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/0.6785, allocations: 9.965 MB / 0.7352 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.6799, allocations: 187.2 kB / 0.7354 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.68, allocations: 28 kB / 0.7354 GB, free: 1.496 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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 (69): * Single equations (assignments): 68 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005912/0.6806, allocations: 323.8 kB / 0.7357 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.6808, allocations: 114.6 kB / 0.7358 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.696, allocations: 4.846 MB / 0.7405 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.6961, allocations: 12 kB / 0.7406 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6961, allocations: 4 kB / 0.7406 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/0.6962, allocations: 3.984 kB / 0.7406 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.7122, allocations: 6.453 MB / 0.7469 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.7122, allocations: 3.984 kB / 0.7469 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.7129, allocations: 115.8 kB / 0.747 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006198/0.7191, allocations: 2.058 MB / 0.749 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.7194, allocations: 16 kB / 0.749 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.7375, allocations: 8.647 MB / 0.7574 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7375, allocations: 8 kB / 0.7575 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01547/0.753, allocations: 5.829 MB / 0.7631 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.7536, allocations: 207.5 kB / 0.7633 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.7537, allocations: 19.94 kB / 0.7634 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7549, allocations: 147.9 kB / 0.7635 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006226/0.7555, allocations: 208.6 kB / 0.7637 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.7556, allocations: 20 kB / 0.7637 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009649/0.7565, allocations: 0.6393 MB / 0.7643 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7566, allocations: 0 / 0.7643 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001773/0.7583, allocations: 0.6553 MB / 0.765 GB, free: 2.832 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.000275/0.7586, allocations: 152.6 kB / 0.7651 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2324/0.991, allocations: 4.265 MB / 0.7693 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.991, allocations: 4 kB / 0.7693 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004774/0.9958, allocations: 1.73 MB / 0.771 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.0007641/0.9966, allocations: 93.33 kB / 0.7711 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/1.001, allocations: 2.467 MB / 0.7735 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/1.002, allocations: 1.124 MB / 0.7746 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005551/1.002, allocations: 94.42 kB / 0.7747 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/1.003, allocations: 54.8 kB / 0.7747 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/1.003, allocations: 0 / 0.7747 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03922/1.042, allocations: 26.84 MB / 0.8009 GB, free: 145.9 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)