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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008679, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.153/1.153, allocations: 223.2 MB / 239.3 MB, free: 5.441 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.0009422/0.0009423, allocations: 176.5 kB / 290.6 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3919/0.3919, allocations: 78.55 MB / 420.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003184, allocations: 12 kB / 0.4888 GB, free: 5.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 69.35 MB / 0.5565 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.1923/0.3, allocations: 6.192 MB / 0.5625 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.3026, allocations: 1.954 MB / 0.5644 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.303, allocations: 18.12 kB / 0.5645 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.3035, allocations: 183.8 kB / 0.5646 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3049, allocations: 0.6355 MB / 0.5653 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.306, allocations: 0.6075 MB / 0.5659 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009239/0.3069, allocations: 1.384 MB / 0.5672 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.3073, allocations: 274.9 kB / 0.5675 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.3077, allocations: 0.5273 MB / 0.568 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.3082, allocations: 0.6646 MB / 0.5686 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.3083, allocations: 51.09 kB / 0.5687 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.3087, allocations: 180.7 kB / 0.5689 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.3089, allocations: 231 kB / 0.5691 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.3092, allocations: 0.5752 MB / 0.5696 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.3101, allocations: 1.447 MB / 0.571 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3101, allocations: 0 / 0.571 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3101, allocations: 2.031 kB / 0.571 GB, free: 33.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3101, allocations: 0 / 0.571 GB, free: 33.67 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.006557/0.3167, allocations: 2.357 MB / 0.5734 GB, free: 32.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3167, allocations: 8.969 kB / 0.5734 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.3169, allocations: 123.7 kB / 0.5735 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.3213, allocations: 0.7899 MB / 0.5742 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.3222, allocations: 0.8151 MB / 0.575 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.3225, allocations: 268.6 kB / 0.5753 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3226, allocations: 84.78 kB / 0.5754 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.3245, allocations: 1.197 MB / 0.5766 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3245, allocations: 0 / 0.5766 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.488e-05/0.3246, allocations: 29.61 kB / 0.5766 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3246, allocations: 17.77 kB / 0.5766 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.3266, allocations: 1.171 MB / 0.5777 GB, free: 31.98 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.004527/0.3312, allocations: 3.525 MB / 0.5812 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.333, allocations: 1.511 MB / 0.5827 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.3343, allocations: 0.8265 MB / 0.5835 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.803e-05/0.3344, allocations: 19.55 kB / 0.5835 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3344, allocations: 38.09 kB / 0.5835 GB, free: 29.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.034e-06/0.3344, allocations: 2.719 kB / 0.5835 GB, free: 29.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02643/0.3608, allocations: 8.494 MB / 0.5918 GB, free: 28.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3609, allocations: 86.61 kB / 0.5919 GB, free: 28.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.3623, allocations: 0.9517 MB / 0.5928 GB, free: 27.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3624, allocations: 40.73 kB / 0.5929 GB, free: 27.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.3627, allocations: 481.7 kB / 0.5933 GB, free: 27.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.3629, allocations: 322.2 kB / 0.5936 GB, free: 26.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.363, allocations: 103 kB / 0.5937 GB, free: 26.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.3631, allocations: 344.8 kB / 0.5941 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.3646, allocations: 0.7725 MB / 0.5948 GB, free: 26.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3662, allocations: 0.9001 MB / 0.5957 GB, free: 25.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/0.384, allocations: 5.21 MB / 0.6008 GB, free: 24.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.384, allocations: 0.6094 kB / 0.6008 GB, free: 24.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01427/0.3983, allocations: 5.159 MB / 0.6058 GB, free: 23.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.3984, allocations: 159.5 kB / 0.606 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3984, allocations: 2.312 kB / 0.606 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/0.4048, allocations: 2.102 MB / 0.608 GB, free: 22.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.4056, allocations: 196.2 kB / 0.6082 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/0.4242, allocations: 9.583 MB / 0.6176 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4256, allocations: 207 kB / 0.6178 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4257, allocations: 39.98 kB / 0.6178 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.4257, allocations: 4.781 kB / 0.6178 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/0.4377, allocations: 5.015 MB / 0.6227 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4377, allocations: 4 kB / 0.6227 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/0.4431, allocations: 2.103 MB / 0.6248 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.4438, allocations: 189.7 kB / 0.6249 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.4616, allocations: 9.552 MB / 0.6343 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4629, allocations: 203.1 kB / 0.6345 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/0.463, allocations: 39.98 kB / 0.6345 GB, free: 13.43 MB / 446.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.0005098/0.4636, allocations: 321.2 kB / 0.6348 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.4638, allocations: 122.4 kB / 0.6349 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.4777, allocations: 4.865 MB / 0.6397 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4777, allocations: 12 kB / 0.6397 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4777, allocations: 0.9375 kB / 0.6397 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4777, allocations: 3.984 kB / 0.6397 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.4933, allocations: 6.461 MB / 0.646 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4933, allocations: 0 / 0.646 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.4939, allocations: 115.9 kB / 0.6461 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005936/0.4998, allocations: 2.054 MB / 0.6481 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.5, allocations: 16 kB / 0.6481 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.5177, allocations: 8.217 MB / 0.6562 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5177, allocations: 0 / 0.6562 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.5331, allocations: 5.85 MB / 0.6619 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.5335, allocations: 211.4 kB / 0.6621 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.5337, allocations: 19.94 kB / 0.6621 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5348, allocations: 151.9 kB / 0.6622 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/0.5353, allocations: 200.5 kB / 0.6624 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.5354, allocations: 21 kB / 0.6625 GB, free: 480 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008954/0.5363, allocations: 0.6549 MB / 0.6631 GB, free: 15.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5363, allocations: 0 / 0.6631 GB, free: 15.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001731/0.538, allocations: 0.6905 MB / 0.6638 GB, free: 15.11 MB / 478.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.01578/0.5538, allocations: 6.418 MB / 0.67 GB, free: 8.664 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.5654, allocations: 4.644 MB / 0.6746 GB, free: 4.008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5654, allocations: 0 / 0.6746 GB, free: 4.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004688/0.5701, allocations: 1.743 MB / 0.6763 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.571, allocations: 97.42 kB / 0.6764 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/0.6111, allocations: 18.25 MB / 0.6942 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.6117, allocations: 1.097 MB / 0.6953 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004864/0.6122, allocations: 119.2 kB / 0.6954 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.6127, allocations: 427.3 kB / 0.6958 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.6127, allocations: 0 / 0.6958 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.6653, allocations: 37.35 MB / 0.7323 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/0.6656, allocations: 212.3 kB / 0.7325 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.998, allocations: 0 / 0.7325 GB, free: 8.637 MB / 0.5294 GB (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/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)