Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001247/0.001247, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.3 MB, free: 4.652 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.001427/0.001428, allocations: 199.8 kB / 289.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4386/0.4386, allocations: 78.54 MB / 418.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 79.88 kB / 497.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 68.18 MB / 0.5525 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2189/0.3439, allocations: 5.67 MB / 0.558 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.3471, allocations: 1.721 MB / 0.5597 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000795/0.348, allocations: 12.06 kB / 0.5597 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.3486, allocations: 202.1 kB / 0.5599 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.3503, allocations: 0.6846 MB / 0.5606 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3515, allocations: 0.5518 MB / 0.5611 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3527, allocations: 1.219 MB / 0.5623 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.3531, allocations: 272.3 kB / 0.5626 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.3536, allocations: 0.5116 MB / 0.5631 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.3542, allocations: 0.6341 MB / 0.5637 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3543, allocations: 88.56 kB / 0.5638 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.3547, allocations: 224 kB / 0.564 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3549, allocations: 242.4 kB / 0.5642 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.3552, allocations: 0.5344 MB / 0.5647 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3563, allocations: 1.325 MB / 0.566 GB, free: 34.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3563, allocations: 0 / 0.566 GB, free: 34.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3563, allocations: 2.625 kB / 0.566 GB, free: 34.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3564, allocations: 0 / 0.566 GB, free: 34.93 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007248/0.3636, allocations: 2.34 MB / 0.5683 GB, free: 34.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3637, allocations: 8.844 kB / 0.5683 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.3638, allocations: 110.7 kB / 0.5684 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.3686, allocations: 0.7567 MB / 0.5692 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3698, allocations: 0.7012 MB / 0.5698 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.37, allocations: 257.4 kB / 0.5701 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3702, allocations: 66.06 kB / 0.5702 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.372, allocations: 0.9432 MB / 0.5711 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3721, allocations: 1.312 kB / 0.5711 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.3722, allocations: 25.75 kB / 0.5711 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3722, allocations: 15.34 kB / 0.5711 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.3741, allocations: 0.9733 MB / 0.5721 GB, free: 33.37 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.004701/0.3788, allocations: 3.156 MB / 0.5751 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3806, allocations: 1.301 MB / 0.5764 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.3819, allocations: 0.696 MB / 0.5771 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/0.382, allocations: 16.91 kB / 0.5771 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.382, allocations: 47.83 kB / 0.5772 GB, free: 31.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.016e-06/0.382, allocations: 0 / 0.5772 GB, free: 31.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02633/0.4083, allocations: 6.692 MB / 0.5837 GB, free: 30.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4084, allocations: 67.62 kB / 0.5838 GB, free: 30.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.4095, allocations: 0.7905 MB / 0.5845 GB, free: 29.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.4097, allocations: 41.45 kB / 0.5846 GB, free: 29.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.4099, allocations: 432.8 kB / 0.585 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.4102, allocations: 287 kB / 0.5853 GB, free: 29.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.4106, allocations: 176.5 kB / 0.5854 GB, free: 29.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.4107, allocations: 343.2 kB / 0.5858 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4121, allocations: 0.643 MB / 0.5864 GB, free: 28.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.4136, allocations: 0.7582 MB / 0.5871 GB, free: 28.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01827/0.4319, allocations: 4.458 MB / 0.5915 GB, free: 27.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.4319, allocations: 1.281 kB / 0.5915 GB, free: 27.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01426/0.4462, allocations: 4.043 MB / 0.5954 GB, free: 26.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.4463, allocations: 6.734 kB / 0.5954 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4463, allocations: 2.406 kB / 0.5954 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006532/0.4528, allocations: 1.865 MB / 0.5973 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.4537, allocations: 163 kB / 0.5974 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.4762, allocations: 9.103 MB / 0.6063 GB, free: 21.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.4776, allocations: 155.1 kB / 0.6064 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.4779, allocations: 41.17 kB / 0.6065 GB, free: 21.36 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0005298/0.4784, allocations: 217 kB / 0.6067 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.4787, allocations: 99.66 kB / 0.6068 GB, free: 21.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.4918, allocations: 3.819 MB / 0.6105 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.4918, allocations: 11.78 kB / 0.6105 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4919, allocations: 0 / 0.6105 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.4919, allocations: 6.828 kB / 0.6105 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.5064, allocations: 5.325 MB / 0.6157 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.5065, allocations: 0 / 0.6157 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.507, allocations: 95.83 kB / 0.6158 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00568/0.5127, allocations: 1.744 MB / 0.6175 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.5129, allocations: 19.98 kB / 0.6176 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/0.5302, allocations: 8.09 MB / 0.6255 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5302, allocations: 0 / 0.6255 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/0.5444, allocations: 4.677 MB / 0.63 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.5448, allocations: 191.6 kB / 0.6302 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.5451, allocations: 16.88 kB / 0.6302 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5461, allocations: 87.95 kB / 0.6303 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/0.5468, allocations: 201.9 kB / 0.6305 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.394e-05/0.5469, allocations: 21.69 kB / 0.6305 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000737/0.5476, allocations: 0.5264 MB / 0.631 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5476, allocations: 0 / 0.631 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.549, allocations: 407.5 kB / 0.6314 GB, free: 13.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01533/0.5643, allocations: 5.264 MB / 0.6366 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007218/0.5716, allocations: 2.328 MB / 0.6388 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5716, allocations: 0 / 0.6388 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004819/0.5764, allocations: 1.5 MB / 0.6403 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.5773, allocations: 80.56 kB / 0.6404 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.6145, allocations: 14.38 MB / 0.6544 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.6152, allocations: 1.025 MB / 0.6554 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003552/0.6156, allocations: 76.77 kB / 0.6555 GB, free: 4.633 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.6161, allocations: 375.3 kB / 0.6558 GB, free: 4.266 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6161, allocations: 0 / 0.6558 GB, free: 4.266 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05976/0.6759, allocations: 30.24 MB / 0.6854 GB, free: 6.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.09, allocations: 5.094 kB / 0.6854 GB, free: 6.32 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)