Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 173.7 kB / 12.73 MB, free: 2.586 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.293/1.293, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008047/0.0008047, allocations: 93.03 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4483/0.4483, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.093e-05, allocations: 7.984 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3325, allocations: 69.35 MB / 0.5481 GB, free: 20.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4525, allocations: 99.32 MB / 0.645 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4527, allocations: 75.95 kB / 0.6451 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06942/0.5222, allocations: 25.61 MB / 0.6701 GB, free: 7.117 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5222, allocations: 0 / 0.6701 GB, free: 7.117 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.74e-05/0.5223, allocations: 20 kB / 0.6701 GB, free: 7.098 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.005567/0.5279, allocations: 1.711 MB / 0.6718 GB, free: 5.336 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.528, allocations: 15.97 kB / 0.6718 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004152/0.5284, allocations: 126.5 kB / 0.672 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.5319, allocations: 0.5487 MB / 0.6725 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.5341, allocations: 0.7635 MB / 0.6732 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.5344, allocations: 272.1 kB / 0.6735 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.5347, allocations: 68 kB / 0.6736 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.5366, allocations: 0.9423 MB / 0.6745 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5367, allocations: 3.938 kB / 0.6745 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5368, allocations: 28 kB / 0.6745 GB, free: 2.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.5368, allocations: 20 kB / 0.6745 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.5385, allocations: 0.8553 MB / 0.6754 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3234/0.8619, allocations: 3.502 MB / 0.6788 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.8636, allocations: 1.238 MB / 0.68 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009687/0.8646, allocations: 0.5707 MB / 0.6806 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.8647, allocations: 12.17 kB / 0.6806 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.8648, allocations: 42.45 kB / 0.6806 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.357e-06/0.8648, allocations: 0 / 0.6806 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01351/0.8783, allocations: 4.043 MB / 0.6846 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.8784, allocations: 87.98 kB / 0.6846 GB, free: 103.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.8796, allocations: 0.776 MB / 0.6854 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.8798, allocations: 41.36 kB / 0.6854 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.8801, allocations: 486.8 kB / 0.6859 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.8804, allocations: 311 kB / 0.6862 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.8805, allocations: 15.56 kB / 0.6862 GB, free: 102.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.8806, allocations: 340.6 kB / 0.6865 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.8812, allocations: 436.7 kB / 0.687 GB, free: 102.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.8819, allocations: 0.5324 MB / 0.6875 GB, free: 102.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.8826, allocations: 472.8 kB / 0.6879 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8826, allocations: 3.984 kB / 0.6879 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0114/0.894, allocations: 4.142 MB / 0.692 GB, free: 102.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.8942, allocations: 0.8006 MB / 0.6928 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.8943, allocations: 0 / 0.6928 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/0.8997, allocations: 1.725 MB / 0.6944 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.9005, allocations: 141.4 kB / 0.6946 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.914, allocations: 7.27 MB / 0.7017 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.9157, allocations: 198 kB / 0.7019 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.9158, allocations: 32.62 kB / 0.7019 GB, free: 96.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.9159, allocations: 3.75 kB / 0.7019 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/0.9292, allocations: 4.003 MB / 0.7058 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.9292, allocations: 3.609 kB / 0.7058 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.9345, allocations: 1.723 MB / 0.7075 GB, free: 95.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.9353, allocations: 139.7 kB / 0.7076 GB, free: 94.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/0.949, allocations: 7.251 MB / 0.7147 GB, free: 88.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.9506, allocations: 192.4 kB / 0.7149 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.9507, allocations: 31.47 kB / 0.7149 GB, free: 88.19 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.000303/0.951, allocations: 142.5 kB / 0.7151 GB, free: 88.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.9513, allocations: 118.5 kB / 0.7152 GB, free: 87.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.9628, allocations: 4.174 MB / 0.7192 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.9629, allocations: 15.88 kB / 0.7193 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.9629, allocations: 0 / 0.7193 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.9629, allocations: 6.516 kB / 0.7193 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.9761, allocations: 5.765 MB / 0.7249 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.9762, allocations: 0 / 0.7249 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.9769, allocations: 122 kB / 0.725 GB, free: 79.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004853/0.9818, allocations: 1.689 MB / 0.7267 GB, free: 78.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.982, allocations: 16 kB / 0.7267 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.9933, allocations: 6.322 MB / 0.7329 GB, free: 72.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9934, allocations: 11.92 kB / 0.7329 GB, free: 72.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.006, allocations: 4.901 MB / 0.7376 GB, free: 67.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/1.006, allocations: 199.5 kB / 0.7378 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.007, allocations: 23.92 kB / 0.7379 GB, free: 66.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.008, allocations: 151.8 kB / 0.738 GB, free: 66.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006377/1.008, allocations: 204.4 kB / 0.7382 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/1.009, allocations: 24 kB / 0.7382 GB, free: 66.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007117/1.009, allocations: 0.6011 MB / 0.7388 GB, free: 65.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 0 / 0.7388 GB, free: 65.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001713/1.011, allocations: 0.6539 MB / 0.7394 GB, free: 65.29 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.01247/1.023, allocations: 5.508 MB / 0.7448 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009028/1.033, allocations: 3.529 MB / 0.7483 GB, free: 56.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.033, allocations: 4.062 kB / 0.7483 GB, free: 56.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003839/1.036, allocations: 1.483 MB / 0.7497 GB, free: 54.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/1.037, allocations: 87.92 kB / 0.7498 GB, free: 54.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/1.041, allocations: 1.749 MB / 0.7515 GB, free: 52.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/1.041, allocations: 1.137 MB / 0.7526 GB, free: 51.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005989/1.042, allocations: 156.2 kB / 0.7528 GB, free: 51.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/1.042, allocations: 411.3 kB / 0.7532 GB, free: 51.14 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/1.042, allocations: 3.938 kB / 0.7532 GB, free: 51.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05599/1.098, allocations: 37.92 MB / 0.7902 GB, free: 13.68 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.098, allocations: 169 kB / 0.7904 GB, free: 13.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/4.066, allocations: 0 / 0.7904 GB, free: 13.46 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)