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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_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.001086/0.001086, allocations: 174.8 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.336/1.336, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0009352/0.000935, allocations: 92.97 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5087/0.5087, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.118e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3831, allocations: 69.35 MB / 0.5481 GB, free: 20.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.5079, allocations: 99.32 MB / 0.6451 GB, free: 1.188 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5082, allocations: 83.95 kB / 0.6452 GB, free: 1.105 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07236/0.5806, allocations: 25.61 MB / 0.6702 GB, free: 7.324 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5806, allocations: 0 / 0.6702 GB, free: 7.324 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001331/0.5808, allocations: 20 kB / 0.6702 GB, free: 7.305 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.00588/0.5867, allocations: 1.715 MB / 0.6719 GB, free: 5.539 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.5867, allocations: 15.97 kB / 0.6719 GB, free: 5.523 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004979/0.5872, allocations: 130.5 kB / 0.672 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.5911, allocations: 0.5564 MB / 0.6725 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.5932, allocations: 0.7558 MB / 0.6733 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.5937, allocations: 268.1 kB / 0.6735 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.594, allocations: 72 kB / 0.6736 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.5959, allocations: 0.9345 MB / 0.6745 GB, free: 2.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5959, allocations: 8 kB / 0.6745 GB, free: 2.695 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.596, allocations: 27.94 kB / 0.6746 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.596, allocations: 20 kB / 0.6746 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.5977, allocations: 0.8592 MB / 0.6754 GB, free: 1.785 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3599/0.9576, allocations: 3.502 MB / 0.6788 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.9594, allocations: 1.223 MB / 0.68 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.9606, allocations: 0.571 MB / 0.6806 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.9607, allocations: 19.48 kB / 0.6806 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.9608, allocations: 44.12 kB / 0.6806 GB, free: 103.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.248e-06/0.9608, allocations: 3.531 kB / 0.6806 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01417/0.9749, allocations: 4.037 MB / 0.6846 GB, free: 103.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.975, allocations: 87.92 kB / 0.6847 GB, free: 103.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.9762, allocations: 0.7807 MB / 0.6854 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.9765, allocations: 37.14 kB / 0.6855 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.9768, allocations: 492.1 kB / 0.6859 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.9771, allocations: 316.7 kB / 0.6862 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.9772, allocations: 11.5 kB / 0.6863 GB, free: 103.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.9772, allocations: 336.5 kB / 0.6866 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.9779, allocations: 437 kB / 0.687 GB, free: 102.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/0.9786, allocations: 0.5328 MB / 0.6875 GB, free: 102.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.9794, allocations: 471.6 kB / 0.688 GB, free: 102.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9794, allocations: 7.906 kB / 0.688 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01162/0.991, allocations: 4.132 MB / 0.692 GB, free: 102.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.9913, allocations: 0.8002 MB / 0.6928 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9913, allocations: 2.531 kB / 0.6928 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005488/0.9968, allocations: 1.73 MB / 0.6945 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.9977, allocations: 144.1 kB / 0.6946 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.011, allocations: 7.256 MB / 0.7017 GB, free: 97.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.013, allocations: 201.7 kB / 0.7019 GB, free: 97.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.013, allocations: 31.66 kB / 0.7019 GB, free: 97.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.013, allocations: 5.844 kB / 0.7019 GB, free: 97.37 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01146/1.025, allocations: 4.002 MB / 0.7058 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.025, allocations: 7.547 kB / 0.7058 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/1.03, allocations: 1.728 MB / 0.7075 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/1.031, allocations: 136.8 kB / 0.7077 GB, free: 95.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.044, allocations: 7.249 MB / 0.7147 GB, free: 88.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.045, allocations: 193.3 kB / 0.7149 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.045, allocations: 27.19 kB / 0.7149 GB, free: 88.47 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.0003191/1.046, allocations: 139.7 kB / 0.7151 GB, free: 88.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/1.046, allocations: 122.5 kB / 0.7152 GB, free: 88.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.057, allocations: 4.177 MB / 0.7193 GB, free: 84.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.057, allocations: 11.94 kB / 0.7193 GB, free: 84.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.057, allocations: 7.641 kB / 0.7193 GB, free: 84.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/1.057, allocations: 3.469 kB / 0.7193 GB, free: 84.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/1.071, allocations: 5.769 MB / 0.7249 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.071, allocations: 8 kB / 0.7249 GB, free: 80.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/1.071, allocations: 107.1 kB / 0.725 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004834/1.076, allocations: 1.678 MB / 0.7267 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.076, allocations: 27.94 kB / 0.7267 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.088, allocations: 6.327 MB / 0.7329 GB, free: 72.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.088, allocations: 0 / 0.7329 GB, free: 72.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.101, allocations: 4.91 MB / 0.7377 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/1.101, allocations: 203.5 kB / 0.7379 GB, free: 67.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/1.102, allocations: 16 kB / 0.7379 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.103, allocations: 147.9 kB / 0.738 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007681/1.104, allocations: 208.4 kB / 0.7382 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/1.104, allocations: 23.98 kB / 0.7383 GB, free: 66.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009805/1.105, allocations: 0.6049 MB / 0.7388 GB, free: 66.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.105, allocations: 0 / 0.7388 GB, free: 66.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002846/1.108, allocations: 0.6588 MB / 0.7395 GB, free: 65.57 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.01482/1.122, allocations: 5.509 MB / 0.7449 GB, free: 60.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008838/1.131, allocations: 3.534 MB / 0.7483 GB, free: 56.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.131, allocations: 0 / 0.7483 GB, free: 56.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003965/1.135, allocations: 1.48 MB / 0.7498 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/1.136, allocations: 83.92 kB / 0.7498 GB, free: 54.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/1.14, allocations: 1.747 MB / 0.7516 GB, free: 53.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/1.141, allocations: 1.138 MB / 0.7527 GB, free: 51.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006647/1.142, allocations: 159.5 kB / 0.7528 GB, free: 51.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/1.142, allocations: 411.3 kB / 0.7532 GB, free: 51.43 MB / 490.7 MB Notification: Performance of SimCode: time 1.843e-06/1.142, allocations: 3.938 kB / 0.7532 GB, free: 51.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05792/1.2, allocations: 37.94 MB / 0.7903 GB, free: 13.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.2, allocations: 173.8 kB / 0.7904 GB, free: 13.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.342, allocations: 0 / 0.7904 GB, free: 13.71 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)