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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 239.4 MB, free: 5.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 191.3 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5445/0.5445, allocations: 91.93 MB / 433.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003905, allocations: 12.28 kB / 0.5049 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4473, allocations: 72.46 MB / 0.5756 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.005361/0.4527, allocations: 6.223 MB / 0.5817 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.4568, allocations: 1.973 MB / 0.5836 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009387/0.4578, allocations: 11.84 kB / 0.5837 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.4586, allocations: 183.8 kB / 0.5838 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.4605, allocations: 0.6415 MB / 0.5845 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.4618, allocations: 0.6116 MB / 0.5851 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.4632, allocations: 1.384 MB / 0.5864 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.4636, allocations: 277.8 kB / 0.5867 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.4642, allocations: 0.5143 MB / 0.5872 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006295/0.4649, allocations: 0.6574 MB / 0.5878 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.465, allocations: 53.81 kB / 0.5879 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.4654, allocations: 190.8 kB / 0.588 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.4657, allocations: 230 kB / 0.5883 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.4662, allocations: 0.5758 MB / 0.5888 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.4674, allocations: 1.435 MB / 0.5902 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4674, allocations: 3.969 kB / 0.5902 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4674, allocations: 0 / 0.5902 GB, free: 27.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.4674, allocations: 0 / 0.5902 GB, free: 27.86 MB / 430.1 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.008028/0.4755, allocations: 2.367 MB / 0.5925 GB, free: 26.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4755, allocations: 13.3 kB / 0.5926 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.4758, allocations: 126.3 kB / 0.5927 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.4809, allocations: 0.7778 MB / 0.5934 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.4823, allocations: 0.8116 MB / 0.5942 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.4826, allocations: 265.2 kB / 0.5945 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.4828, allocations: 85.86 kB / 0.5946 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.4853, allocations: 1.204 MB / 0.5957 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.4853, allocations: 0 / 0.5957 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4855, allocations: 30.03 kB / 0.5958 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.4855, allocations: 17.22 kB / 0.5958 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.4881, allocations: 1.164 MB / 0.5969 GB, free: 24.97 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006551/0.4947, allocations: 3.53 MB / 0.6004 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.4972, allocations: 1.516 MB / 0.6018 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.499, allocations: 0.8188 MB / 0.6026 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.4991, allocations: 17.31 kB / 0.6027 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4991, allocations: 47.53 kB / 0.6027 GB, free: 21.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.286e-06/0.4992, allocations: 0 / 0.6027 GB, free: 21.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03331/0.5325, allocations: 8.498 MB / 0.611 GB, free: 20.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.5326, allocations: 88.22 kB / 0.6111 GB, free: 20.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.5345, allocations: 0.9508 MB / 0.612 GB, free: 19.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.5348, allocations: 41.02 kB / 0.6121 GB, free: 19.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.5352, allocations: 482.1 kB / 0.6125 GB, free: 19.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.5356, allocations: 326.1 kB / 0.6128 GB, free: 19.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.5358, allocations: 98.92 kB / 0.6129 GB, free: 19.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5359, allocations: 353.9 kB / 0.6133 GB, free: 18.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/0.5379, allocations: 0.7658 MB / 0.614 GB, free: 18.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.5398, allocations: 0.9058 MB / 0.6149 GB, free: 18.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02032/0.5601, allocations: 5.206 MB / 0.62 GB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.5602, allocations: 4 kB / 0.62 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01471/0.5749, allocations: 5.167 MB / 0.625 GB, free: 10.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.5751, allocations: 149.1 kB / 0.6252 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.5752, allocations: 0 / 0.6252 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006691/0.5819, allocations: 2.104 MB / 0.6272 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.583, allocations: 191.7 kB / 0.6274 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.6048, allocations: 9.579 MB / 0.6368 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.6069, allocations: 214.9 kB / 0.637 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6071, allocations: 39.98 kB / 0.637 GB, free: 14.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.6071, allocations: 5.875 kB / 0.637 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01605/0.6232, allocations: 5.011 MB / 0.6419 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.6232, allocations: 0 / 0.6419 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007239/0.6305, allocations: 2.108 MB / 0.644 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.6316, allocations: 187.8 kB / 0.6441 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02487/0.6565, allocations: 9.553 MB / 0.6535 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.6585, allocations: 199.1 kB / 0.6537 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/0.6588, allocations: 43.98 kB / 0.6537 GB, free: 12.77 MB / 462.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.6599, allocations: 326.4 kB / 0.654 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.6604, allocations: 126.4 kB / 0.6541 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/0.6768, allocations: 4.865 MB / 0.6589 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.6769, allocations: 8 kB / 0.6589 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6769, allocations: 7.938 kB / 0.6589 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/0.6769, allocations: 3.984 kB / 0.6589 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.6959, allocations: 6.457 MB / 0.6652 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.6959, allocations: 0 / 0.6652 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.6967, allocations: 115.8 kB / 0.6653 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007104/0.7038, allocations: 2.05 MB / 0.6673 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.7041, allocations: 16 kB / 0.6673 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.7252, allocations: 8.23 MB / 0.6754 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7253, allocations: 3.938 kB / 0.6754 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/0.7438, allocations: 5.833 MB / 0.6811 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.7446, allocations: 219.3 kB / 0.6813 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/0.7451, allocations: 16 kB / 0.6813 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.7467, allocations: 147.9 kB / 0.6814 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008817/0.7476, allocations: 200.7 kB / 0.6816 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.7478, allocations: 27.88 kB / 0.6817 GB, free: 15.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001651/0.7495, allocations: 0.6432 MB / 0.6823 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7495, allocations: 0 / 0.6823 GB, free: 15.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003475/0.753, allocations: 0.6983 MB / 0.683 GB, free: 14.44 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01854/0.7715, allocations: 6.416 MB / 0.6892 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01426/0.7859, allocations: 4.639 MB / 0.6938 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.7859, allocations: 4.125 kB / 0.6938 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005742/0.7917, allocations: 1.741 MB / 0.6955 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.7932, allocations: 99.58 kB / 0.6956 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04909/0.8424, allocations: 18.25 MB / 0.7134 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.8435, allocations: 1.105 MB / 0.7145 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007664/0.8443, allocations: 114.8 kB / 0.7146 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/0.8451, allocations: 431.3 kB / 0.715 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.183e-06/0.8451, allocations: 0 / 0.715 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/0.9179, allocations: 37.34 MB / 0.7514 GB, free: 8.02 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.9182, allocations: 225.3 kB / 0.7517 GB, free: 7.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/4.201, allocations: 0 / 0.7517 GB, free: 7.762 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)