Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_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.001614/0.001615, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.396/1.396, allocations: 222.9 MB / 239 MB, free: 4.719 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.001496/0.001496, allocations: 204.4 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5351/0.5351, allocations: 91.89 MB / 431.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 76.2 kB / 0.5015 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3919, allocations: 71.26 MB / 0.5711 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005906/0.3978, allocations: 6.105 MB / 0.5771 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.4013, allocations: 1.779 MB / 0.5788 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.4018, allocations: 12.56 kB / 0.5788 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.4023, allocations: 164.8 kB / 0.579 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.4038, allocations: 0.605 MB / 0.5795 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4049, allocations: 0.5262 MB / 0.5801 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.406, allocations: 1.242 MB / 0.5813 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.4064, allocations: 277.6 kB / 0.5815 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.407, allocations: 0.5224 MB / 0.582 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.4076, allocations: 0.6475 MB / 0.5827 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.4078, allocations: 89.38 kB / 0.5828 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.4082, allocations: 226.5 kB / 0.583 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.4084, allocations: 239.6 kB / 0.5832 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.4088, allocations: 0.5491 MB / 0.5837 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.4099, allocations: 1.34 MB / 0.5851 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4099, allocations: 0 / 0.5851 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4099, allocations: 0 / 0.5851 GB, free: 28.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4099, allocations: 0 / 0.5851 GB, free: 28.54 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.007191/0.4171, allocations: 2.36 MB / 0.5874 GB, free: 27.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4172, allocations: 9.75 kB / 0.5874 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.4173, allocations: 113.6 kB / 0.5875 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.4222, allocations: 0.7634 MB / 0.5882 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4234, allocations: 0.7026 MB / 0.5889 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.4237, allocations: 249.5 kB / 0.5891 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.4238, allocations: 69.59 kB / 0.5892 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.4259, allocations: 0.9612 MB / 0.5902 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4259, allocations: 0 / 0.5902 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.426, allocations: 33.72 kB / 0.5902 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.426, allocations: 15.28 kB / 0.5902 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.4281, allocations: 0.9803 MB / 0.5912 GB, free: 25.78 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.007311/0.4354, allocations: 3.166 MB / 0.5942 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.4382, allocations: 1.312 MB / 0.5955 GB, free: 23.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4396, allocations: 0.7001 MB / 0.5962 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4398, allocations: 9.75 kB / 0.5962 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4398, allocations: 49.84 kB / 0.5963 GB, free: 22.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 4.529e-06/0.4398, allocations: 1.062 kB / 0.5963 GB, free: 22.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.04181/0.4816, allocations: 6.751 MB / 0.6029 GB, free: 21.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.4818, allocations: 69.91 kB / 0.6029 GB, free: 21.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.4842, allocations: 0.7949 MB / 0.6037 GB, free: 21.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003035/0.4845, allocations: 41.83 kB / 0.6037 GB, free: 21.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.485, allocations: 433.6 kB / 0.6042 GB, free: 20.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000567/0.4856, allocations: 300.9 kB / 0.6044 GB, free: 20.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008682/0.4864, allocations: 179.2 kB / 0.6046 GB, free: 20.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4866, allocations: 347.3 kB / 0.6049 GB, free: 20.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.4888, allocations: 0.6463 MB / 0.6056 GB, free: 19.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.4912, allocations: 0.7748 MB / 0.6063 GB, free: 19.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02501/0.5162, allocations: 4.512 MB / 0.6107 GB, free: 18.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.5163, allocations: 1.375 kB / 0.6107 GB, free: 18.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01802/0.5343, allocations: 4.119 MB / 0.6148 GB, free: 16.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.5344, allocations: 5.875 kB / 0.6148 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5344, allocations: 6.156 kB / 0.6148 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006072/0.5405, allocations: 1.783 MB / 0.6165 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.5414, allocations: 167.8 kB / 0.6167 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.5608, allocations: 9.341 MB / 0.6258 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.5624, allocations: 155 kB / 0.6259 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.5626, allocations: 35.98 kB / 0.626 GB, free: 5.902 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.0005557/0.5632, allocations: 226.5 kB / 0.6262 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.5635, allocations: 98.78 kB / 0.6263 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.5748, allocations: 3.836 MB / 0.63 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5748, allocations: 8 kB / 0.63 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5748, allocations: 0 / 0.63 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.5749, allocations: 11.91 kB / 0.6301 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.5897, allocations: 5.348 MB / 0.6353 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.5897, allocations: 4 kB / 0.6353 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.5904, allocations: 91.83 kB / 0.6354 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006151/0.5966, allocations: 1.749 MB / 0.6371 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.5968, allocations: 15.98 kB / 0.6371 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/0.6167, allocations: 8.079 MB / 0.645 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6168, allocations: 0 / 0.645 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.6316, allocations: 4.715 MB / 0.6496 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.6321, allocations: 191.7 kB / 0.6498 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.6325, allocations: 12 kB / 0.6498 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6337, allocations: 87.89 kB / 0.6499 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007476/0.6345, allocations: 200.7 kB / 0.6501 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.6346, allocations: 20 kB / 0.6501 GB, free: 12.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008373/0.6355, allocations: 0.5421 MB / 0.6506 GB, free: 12.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6355, allocations: 0 / 0.6506 GB, free: 12.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001777/0.6373, allocations: 403.6 kB / 0.651 GB, free: 11.91 MB / 462.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.01537/0.6526, allocations: 5.288 MB / 0.6562 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007384/0.6601, allocations: 2.353 MB / 0.6585 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6601, allocations: 0 / 0.6585 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.6652, allocations: 1.504 MB / 0.6599 GB, free: 2.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6666, allocations: 87.2 kB / 0.66 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/0.7073, allocations: 14.92 MB / 0.6746 GB, free: 3.352 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.7082, allocations: 1.029 MB / 0.6756 GB, free: 2.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004682/0.7087, allocations: 78.17 kB / 0.6757 GB, free: 2.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.7094, allocations: 367.3 kB / 0.676 GB, free: 1.859 MB / 478.1 MB Notification: Performance of SimCode: time 2.956e-06/0.7094, allocations: 4 kB / 0.676 GB, free: 1.855 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/0.7922, allocations: 29.62 MB / 0.7049 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.7925, allocations: 218.5 kB / 0.7051 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.608, allocations: 0 / 0.7051 GB, free: 4.148 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)