Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001644/0.001644, allocations: 176.2 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.384/1.384, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.000851/0.000851, allocations: 95.61 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6387/0.6387, allocations: 78.95 MB / 410.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.643e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5533, allocations: 99.23 MB / 0.6393 GB, free: 14.87 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5537, allocations: 75.95 kB / 0.6394 GB, free: 14.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06825/0.6219, allocations: 25.57 MB / 0.6644 GB, free: 5.297 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.622, allocations: 0 / 0.6644 GB, free: 5.297 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.331e-05/0.622, allocations: 24.75 kB / 0.6644 GB, free: 5.273 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004501/0.6265, allocations: 1.707 MB / 0.6661 GB, free: 3.523 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.6266, allocations: 8.031 kB / 0.6661 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/0.6298, allocations: 0.5487 MB / 0.6666 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.6313, allocations: 0.7593 MB / 0.6674 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.6316, allocations: 236.5 kB / 0.6676 GB, free: 1.883 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6317, allocations: 51.95 kB / 0.6676 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001487/0.6332, allocations: 0.8124 MB / 0.6684 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6347, allocations: 0.8378 MB / 0.6692 GB, free: 176 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.6347, allocations: 0 / 0.6692 GB, free: 176 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.6348, allocations: 3.938 kB / 0.6692 GB, free: 172 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.6348, allocations: 16 kB / 0.6693 GB, free: 156 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.6409, allocations: 3.389 MB / 0.6726 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.6425, allocations: 1.195 MB / 0.6737 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008615/0.6434, allocations: 0.5427 MB / 0.6743 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.6435, allocations: 12.77 kB / 0.6743 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.6436, allocations: 43.34 kB / 0.6743 GB, free: 10.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.386e-06/0.6436, allocations: 7.938 kB / 0.6743 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01356/0.6572, allocations: 3.978 MB / 0.6782 GB, free: 6.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.6573, allocations: 86.45 kB / 0.6783 GB, free: 6.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.6589, allocations: 0.7054 MB / 0.679 GB, free: 5.867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.6592, allocations: 25.7 kB / 0.679 GB, free: 5.836 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.6597, allocations: 0.4888 MB / 0.6795 GB, free: 5.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.6603, allocations: 295.5 kB / 0.6798 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.6604, allocations: 3.938 kB / 0.6798 GB, free: 5.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6606, allocations: 339.2 kB / 0.6801 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.6614, allocations: 426.6 kB / 0.6805 GB, free: 4.289 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.6623, allocations: 0.5076 MB / 0.681 GB, free: 3.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.6631, allocations: 459.7 kB / 0.6814 GB, free: 3.305 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6631, allocations: 3.938 kB / 0.6814 GB, free: 3.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01295/0.6761, allocations: 4.058 MB / 0.6854 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004133/0.6765, allocations: 0.7999 MB / 0.6862 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.6766, allocations: 0 / 0.6862 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006204/0.6828, allocations: 1.69 MB / 0.6878 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.6838, allocations: 143.8 kB / 0.688 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.7001, allocations: 7.049 MB / 0.6949 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.7019, allocations: 183.1 kB / 0.695 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.7022, allocations: 37.55 kB / 0.6951 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7022, allocations: 4 kB / 0.6951 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01282/0.715, allocations: 3.906 MB / 0.6989 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.7151, allocations: 0 / 0.6989 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005971/0.7211, allocations: 1.687 MB / 0.7005 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.722, allocations: 139.8 kB / 0.7007 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.738, allocations: 7.066 MB / 0.7076 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.7398, allocations: 167.2 kB / 0.7077 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.74, allocations: 35.97 kB / 0.7078 GB, free: 8.02 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "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 () * 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.0004324/0.7405, allocations: 125 kB / 0.7079 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.7408, allocations: 114.6 kB / 0.708 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.7547, allocations: 4.083 MB / 0.712 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.7548, allocations: 12.66 kB / 0.712 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7548, allocations: 0 / 0.712 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.7548, allocations: 11.92 kB / 0.712 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.7711, allocations: 5.595 MB / 0.7175 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.7712, allocations: 0 / 0.7175 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.772, allocations: 111.8 kB / 0.7176 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005685/0.7777, allocations: 1.656 MB / 0.7192 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/0.778, allocations: 17.02 kB / 0.7192 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.7917, allocations: 6.2 MB / 0.7253 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.7918, allocations: 3.953 kB / 0.7253 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/0.8067, allocations: 4.827 MB / 0.73 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.8074, allocations: 203.5 kB / 0.7302 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004371/0.8079, allocations: 3.984 kB / 0.7302 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.8094, allocations: 135.9 kB / 0.7303 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008715/0.8103, allocations: 200.4 kB / 0.7305 GB, free: 428 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.8105, allocations: 20 kB / 0.7305 GB, free: 408 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001061/0.8115, allocations: 0.5411 MB / 0.731 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8116, allocations: 4 kB / 0.731 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002595/0.8142, allocations: 0.6012 MB / 0.7316 GB, free: 15.24 MB / 0.5417 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 () * 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.000382/0.8146, allocations: 135 kB / 0.7318 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.8247, allocations: 3.418 MB / 0.7351 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.8247, allocations: 3.938 kB / 0.7351 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.8292, allocations: 1.435 MB / 0.7365 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.8304, allocations: 79.7 kB / 0.7366 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.8345, allocations: 1.527 MB / 0.7381 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/0.8356, allocations: 1.13 MB / 0.7392 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.8364, allocations: 159.2 kB / 0.7393 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.8366, allocations: 47.38 kB / 0.7394 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/0.8366, allocations: 0 / 0.7394 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of Templates: time 0.3345/1.171, allocations: 26.5 MB / 0.7653 GB, free: 147.6 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)