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.001342/0.001342, 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.288/1.288, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0009558/0.0009558, allocations: 90.41 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4651/0.4651, allocations: 78.12 MB / 409.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.772e-05, allocations: 4 kB / 485 MB, free: 4.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 69.35 MB / 0.5413 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4397, allocations: 98.66 MB / 0.6377 GB, free: 6.121 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.4399, allocations: 75.97 kB / 0.6377 GB, free: 6.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06722/0.5072, allocations: 25.29 MB / 0.6624 GB, free: 12.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5072, allocations: 0 / 0.6624 GB, free: 12.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.409e-05/0.5073, allocations: 24 kB / 0.6624 GB, free: 12.56 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.004443/0.5117, allocations: 1.703 MB / 0.6641 GB, free: 10.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5118, allocations: 12.03 kB / 0.6641 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.515, allocations: 0.5487 MB / 0.6647 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.5165, allocations: 0.7593 MB / 0.6654 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.5168, allocations: 240.5 kB / 0.6656 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5169, allocations: 43.95 kB / 0.6657 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001512/0.5184, allocations: 0.8202 MB / 0.6665 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.5199, allocations: 0.8329 MB / 0.6673 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5199, allocations: 0 / 0.6673 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.52, allocations: 0 / 0.6673 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.52, allocations: 20 kB / 0.6673 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006307/0.5264, allocations: 3.393 MB / 0.6706 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.5278, allocations: 1.2 MB / 0.6718 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/0.5286, allocations: 0.5427 MB / 0.6723 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.5287, allocations: 16.78 kB / 0.6723 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5287, allocations: 43.34 kB / 0.6724 GB, free: 1.961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.5287, allocations: 0 / 0.6724 GB, free: 1.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2691/0.7978, allocations: 3.968 MB / 0.6762 GB, free: 105.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.7979, allocations: 87.33 kB / 0.6763 GB, free: 105.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.7991, allocations: 0.7079 MB / 0.677 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.7993, allocations: 26.22 kB / 0.677 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.7996, allocations: 499.5 kB / 0.6775 GB, free: 105.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.7999, allocations: 300.6 kB / 0.6778 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.7999, allocations: 0 / 0.6778 GB, free: 105.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.8, allocations: 338.4 kB / 0.6781 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.8007, allocations: 419.6 kB / 0.6785 GB, free: 104.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.8015, allocations: 0.5194 MB / 0.679 GB, free: 104.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.8022, allocations: 459 kB / 0.6795 GB, free: 104.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8022, allocations: 1.031 kB / 0.6795 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01232/0.8145, allocations: 4.06 MB / 0.6834 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.8147, allocations: 0.7992 MB / 0.6842 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8147, allocations: 2.219 kB / 0.6842 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00543/0.8202, allocations: 1.679 MB / 0.6859 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.8209, allocations: 148.5 kB / 0.686 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.8336, allocations: 7.061 MB / 0.6929 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.835, allocations: 176.3 kB / 0.6931 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8351, allocations: 31.11 kB / 0.6931 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.8351, allocations: 3.969 kB / 0.6931 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/0.8462, allocations: 3.911 MB / 0.6969 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.8462, allocations: 3.5 kB / 0.6969 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005057/0.8513, allocations: 1.681 MB / 0.6986 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.852, allocations: 136.4 kB / 0.6987 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.8648, allocations: 7.065 MB / 0.7056 GB, free: 96.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8662, allocations: 167.3 kB / 0.7058 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.8664, allocations: 24.88 kB / 0.7058 GB, free: 96.65 MB / 490.7 MB 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.0002972/0.8667, allocations: 131 kB / 0.7059 GB, free: 96.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.8669, allocations: 115.4 kB / 0.706 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.8783, allocations: 4.086 MB / 0.71 GB, free: 95.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.8784, allocations: 8 kB / 0.71 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8784, allocations: 0 / 0.71 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.8784, allocations: 6.844 kB / 0.71 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.8914, allocations: 5.604 MB / 0.7155 GB, free: 90.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8914, allocations: 4 kB / 0.7155 GB, free: 90.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.892, allocations: 111 kB / 0.7156 GB, free: 90.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004725/0.8968, allocations: 1.663 MB / 0.7172 GB, free: 89.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.8969, allocations: 4 kB / 0.7172 GB, free: 89.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.9085, allocations: 6.205 MB / 0.7233 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.9085, allocations: 3.062 kB / 0.7233 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/0.9211, allocations: 4.824 MB / 0.728 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.9215, allocations: 207.5 kB / 0.7282 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.9218, allocations: 7.953 kB / 0.7282 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.923, allocations: 138.6 kB / 0.7283 GB, free: 78.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005405/0.9235, allocations: 204.4 kB / 0.7285 GB, free: 78.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/0.9236, allocations: 20 kB / 0.7286 GB, free: 78.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006754/0.9243, allocations: 0.5411 MB / 0.7291 GB, free: 77.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9243, allocations: 0 / 0.7291 GB, free: 77.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001762/0.9261, allocations: 0.605 MB / 0.7297 GB, free: 77.23 MB / 490.7 MB 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.0002512/0.9263, allocations: 131.7 kB / 0.7298 GB, free: 77.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008577/0.9349, allocations: 3.409 MB / 0.7331 GB, free: 73.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.935, allocations: 0 / 0.7331 GB, free: 73.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003858/0.9388, allocations: 1.442 MB / 0.7345 GB, free: 72.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.9397, allocations: 72.78 kB / 0.7346 GB, free: 72.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.9431, allocations: 1.542 MB / 0.7361 GB, free: 70.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.9436, allocations: 1.126 MB / 0.7372 GB, free: 69.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006546/0.9443, allocations: 156.1 kB / 0.7374 GB, free: 69.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.9445, allocations: 47.42 kB / 0.7374 GB, free: 69.25 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9445, allocations: 0 / 0.7374 GB, free: 69.25 MB / 490.7 MB Notification: Performance of Templates: time 0.03609/0.9806, allocations: 26.51 MB / 0.7633 GB, free: 42.99 MB / 490.7 MB 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)