Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.0006979/0.000698, allocations: 90.67 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.157/1.157, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.000812/0.000812, allocations: 183.2 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4041/0.4041, allocations: 78.56 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 8 kB / 0.4888 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 69.36 MB / 0.5565 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.1851/0.2923, allocations: 5.637 MB / 0.562 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2944, allocations: 1.765 MB / 0.5637 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.2947, allocations: 10.25 kB / 0.5637 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.295, allocations: 162.9 kB / 0.5639 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.2961, allocations: 0.6006 MB / 0.5645 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.297, allocations: 0.5263 MB / 0.565 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008322/0.2978, allocations: 1.189 MB / 0.5661 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.2981, allocations: 230.9 kB / 0.5664 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.2985, allocations: 476.5 kB / 0.5668 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.2989, allocations: 0.5885 MB / 0.5674 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.299, allocations: 46.72 kB / 0.5674 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.2993, allocations: 178 kB / 0.5676 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2994, allocations: 195.9 kB / 0.5678 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.2997, allocations: 0.5251 MB / 0.5683 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007549/0.3004, allocations: 1.282 MB / 0.5696 GB, free: 33.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3004, allocations: 0 / 0.5696 GB, free: 33.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3005, allocations: 2.938 kB / 0.5696 GB, free: 33.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3005, allocations: 0 / 0.5696 GB, free: 33.49 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005963/0.3064, allocations: 2.191 MB / 0.5717 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3065, allocations: 8.5 kB / 0.5717 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.3066, allocations: 118.2 kB / 0.5718 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.3109, allocations: 0.7709 MB / 0.5726 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.3117, allocations: 0.7088 MB / 0.5733 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.3119, allocations: 261.1 kB / 0.5735 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.312, allocations: 72.22 kB / 0.5736 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.3138, allocations: 1.036 MB / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3138, allocations: 0 / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.3139, allocations: 24.88 kB / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3139, allocations: 16.03 kB / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3157, allocations: 1.064 MB / 0.5757 GB, free: 31.91 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.004215/0.32, allocations: 3.237 MB / 0.5788 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3216, allocations: 1.376 MB / 0.5802 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3228, allocations: 0.7759 MB / 0.5809 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.3229, allocations: 15.94 kB / 0.581 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3229, allocations: 41.25 kB / 0.581 GB, free: 30.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.034e-06/0.3229, allocations: 0 / 0.581 GB, free: 30.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02606/0.349, allocations: 8.407 MB / 0.5892 GB, free: 29.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.349, allocations: 66.72 kB / 0.5893 GB, free: 28.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.3499, allocations: 0.801 MB / 0.59 GB, free: 28.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/0.35, allocations: 39.7 kB / 0.5901 GB, free: 28.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3502, allocations: 437.4 kB / 0.5905 GB, free: 28.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.3504, allocations: 295.9 kB / 0.5908 GB, free: 28.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3506, allocations: 97.19 kB / 0.5909 GB, free: 27.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.3506, allocations: 343.7 kB / 0.5912 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.352, allocations: 0.7241 MB / 0.5919 GB, free: 27.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3536, allocations: 0.8439 MB / 0.5927 GB, free: 27.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01695/0.3705, allocations: 5.002 MB / 0.5976 GB, free: 25.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.3706, allocations: 0 / 0.5976 GB, free: 25.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01379/0.3844, allocations: 5.03 MB / 0.6025 GB, free: 24.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3844, allocations: 5.562 kB / 0.6025 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3844, allocations: 2.125 kB / 0.6025 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006381/0.3908, allocations: 2.099 MB / 0.6046 GB, free: 24.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.3917, allocations: 177.3 kB / 0.6048 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.411, allocations: 9.574 MB / 0.6141 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4123, allocations: 192.5 kB / 0.6143 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.4124, allocations: 39.98 kB / 0.6143 GB, free: 18.14 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (95): * Single equations (assignments): 94 * 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.0003516/0.4127, allocations: 226.5 kB / 0.6145 GB, free: 17.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.4129, allocations: 104.5 kB / 0.6146 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.4249, allocations: 4.743 MB / 0.6193 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4249, allocations: 8 kB / 0.6193 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4249, allocations: 0 / 0.6193 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4249, allocations: 3.984 kB / 0.6193 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.438, allocations: 6.262 MB / 0.6254 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4381, allocations: 0 / 0.6254 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.4385, allocations: 99.88 kB / 0.6255 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/0.4439, allocations: 2.058 MB / 0.6275 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/0.4441, allocations: 16 kB / 0.6275 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.4602, allocations: 8.216 MB / 0.6355 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4602, allocations: 0 / 0.6355 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/0.4753, allocations: 5.696 MB / 0.6411 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.4756, allocations: 191.6 kB / 0.6413 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4758, allocations: 18.78 kB / 0.6413 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.4767, allocations: 127.9 kB / 0.6414 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005614/0.4773, allocations: 204.5 kB / 0.6416 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.4773, allocations: 31.86 kB / 0.6417 GB, free: 5.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.4779, allocations: 0.5343 MB / 0.6422 GB, free: 5.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4779, allocations: 0 / 0.6422 GB, free: 5.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001065/0.479, allocations: 407.6 kB / 0.6426 GB, free: 4.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01549/0.4945, allocations: 6.261 MB / 0.6487 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006538/0.5011, allocations: 2.589 MB / 0.6512 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5011, allocations: 0 / 0.6512 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004559/0.5057, allocations: 1.696 MB / 0.6529 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.5064, allocations: 77.31 kB / 0.6529 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03623/0.5427, allocations: 16.88 MB / 0.6694 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.5432, allocations: 1.029 MB / 0.6704 GB, free: 7.953 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.5435, allocations: 85.28 kB / 0.6705 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.544, allocations: 359.3 kB / 0.6709 GB, free: 7.52 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.544, allocations: 3.938 kB / 0.6709 GB, free: 7.516 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.5855, allocations: 27.75 MB / 0.698 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.5857, allocations: 215.3 kB / 0.6982 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.75, allocations: 0 / 0.6982 GB, free: 11.84 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)