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.001481/0.001481, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.245/1.245, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007961/0.000796, allocations: 97.2 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4385/0.4385, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.595e-05, allocations: 7.984 kB / 491.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3742, allocations: 69.34 MB / 0.548 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.5315, allocations: 99.32 MB / 0.645 GB, free: 1.234 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.5318, allocations: 75.97 kB / 0.6451 GB, free: 1.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06614/0.598, allocations: 25.61 MB / 0.6701 GB, free: 7.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.598, allocations: 0 / 0.6701 GB, free: 7.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.242e-05/0.5981, allocations: 20 kB / 0.6701 GB, free: 7.355 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.004317/0.6024, allocations: 1.709 MB / 0.6718 GB, free: 5.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.6024, allocations: 11.97 kB / 0.6718 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.6055, allocations: 0.5565 MB / 0.6723 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.6069, allocations: 0.7554 MB / 0.6731 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.6072, allocations: 276.4 kB / 0.6733 GB, free: 3.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6074, allocations: 68 kB / 0.6734 GB, free: 3.844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.6089, allocations: 0.9384 MB / 0.6743 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.609, allocations: 4 kB / 0.6743 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.6091, allocations: 24 kB / 0.6743 GB, free: 2.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.6091, allocations: 20 kB / 0.6743 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.6106, allocations: 0.8631 MB / 0.6752 GB, free: 1.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2885/0.8991, allocations: 3.501 MB / 0.6786 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9006, allocations: 1.224 MB / 0.6798 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009295/0.9016, allocations: 0.5725 MB / 0.6804 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.9017, allocations: 13.7 kB / 0.6804 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.9017, allocations: 48.16 kB / 0.6804 GB, free: 103.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.899e-06/0.9017, allocations: 3.938 kB / 0.6804 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01349/0.9152, allocations: 4.038 MB / 0.6844 GB, free: 103.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.9153, allocations: 90.3 kB / 0.6845 GB, free: 103.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.9165, allocations: 0.7701 MB / 0.6852 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.9167, allocations: 43.42 kB / 0.6852 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.9169, allocations: 488.3 kB / 0.6857 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.9172, allocations: 312.5 kB / 0.686 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.9172, allocations: 18.91 kB / 0.686 GB, free: 102.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.9173, allocations: 336.7 kB / 0.6863 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.918, allocations: 437.4 kB / 0.6868 GB, free: 102.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.9187, allocations: 0.5312 MB / 0.6873 GB, free: 102.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.9194, allocations: 476.7 kB / 0.6877 GB, free: 102.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.9194, allocations: 3.469 kB / 0.6877 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01155/0.9309, allocations: 4.138 MB / 0.6918 GB, free: 102.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.9311, allocations: 0.7983 MB / 0.6926 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9311, allocations: 3.469 kB / 0.6926 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005176/0.9363, allocations: 1.725 MB / 0.6942 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.937, allocations: 143.8 kB / 0.6944 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.9505, allocations: 7.265 MB / 0.7015 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.952, allocations: 205.9 kB / 0.7017 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.9522, allocations: 26.94 kB / 0.7017 GB, free: 97.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.9522, allocations: 10.08 kB / 0.7017 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01118/0.9634, allocations: 4 MB / 0.7056 GB, free: 96.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.9634, allocations: 3.953 kB / 0.7056 GB, free: 96.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/0.9686, allocations: 1.728 MB / 0.7073 GB, free: 95.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.9693, allocations: 142.5 kB / 0.7074 GB, free: 95.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.9827, allocations: 7.236 MB / 0.7145 GB, free: 88.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.9842, allocations: 193.7 kB / 0.7147 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.9844, allocations: 27.66 kB / 0.7147 GB, free: 88.43 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.0002989/0.9847, allocations: 149.8 kB / 0.7149 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.985, allocations: 122.5 kB / 0.715 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.9964, allocations: 4.169 MB / 0.7191 GB, free: 84.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.9964, allocations: 12 kB / 0.7191 GB, free: 84.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9964, allocations: 3.953 kB / 0.7191 GB, free: 84.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.9965, allocations: 3.609 kB / 0.7191 GB, free: 84.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.009, allocations: 5.771 MB / 0.7247 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.009, allocations: 0 / 0.7247 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/1.01, allocations: 115.4 kB / 0.7248 GB, free: 80.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004722/1.015, allocations: 1.677 MB / 0.7265 GB, free: 78.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/1.015, allocations: 19.95 kB / 0.7265 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.026, allocations: 6.338 MB / 0.7327 GB, free: 72.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.026, allocations: 0 / 0.7327 GB, free: 72.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.038, allocations: 4.906 MB / 0.7375 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/1.039, allocations: 207.5 kB / 0.7377 GB, free: 67.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.039, allocations: 16 kB / 0.7377 GB, free: 67.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.04, allocations: 155.9 kB / 0.7378 GB, free: 67.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006197/1.041, allocations: 200.4 kB / 0.738 GB, free: 66.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-05/1.041, allocations: 23.98 kB / 0.738 GB, free: 66.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008271/1.042, allocations: 0.6011 MB / 0.7386 GB, free: 66.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.042, allocations: 0 / 0.7386 GB, free: 66.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001765/1.044, allocations: 0.665 MB / 0.7393 GB, free: 65.64 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.0002706/1.044, allocations: 150.9 kB / 0.7394 GB, free: 65.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008514/1.052, allocations: 3.525 MB / 0.7429 GB, free: 61.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.052, allocations: 0 / 0.7429 GB, free: 61.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003849/1.056, allocations: 1.48 MB / 0.7443 GB, free: 60.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/1.057, allocations: 93.83 kB / 0.7444 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.06, allocations: 1.565 MB / 0.7459 GB, free: 58.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/1.061, allocations: 1.134 MB / 0.747 GB, free: 57.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007056/1.061, allocations: 159.6 kB / 0.7472 GB, free: 57.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.061, allocations: 47.44 kB / 0.7472 GB, free: 57.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/1.061, allocations: 0 / 0.7472 GB, free: 57.42 MB / 490.7 MB Notification: Performance of Templates: time 0.03659/1.098, allocations: 28.65 MB / 0.7752 GB, free: 29.07 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)