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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8832/0.8832, allocations: 177.2 MB / 199.4 MB, free: 5.922 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2746/0.2746, allocations: 80.25 MB / 392.6 MB, free: 2.43 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5548 GB, free: 12.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.524e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.3 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004536/0.004561, allocations: 5.051 MB / 0.5597 GB, free: 7.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.007142, allocations: 1.7 MB / 0.5614 GB, free: 5.516 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.007519, allocations: 15.94 kB / 0.5614 GB, free: 5.5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.007879, allocations: 194.3 kB / 0.5616 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.009015, allocations: 0.7366 MB / 0.5623 GB, free: 4.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.009794, allocations: 0.5564 MB / 0.5628 GB, free: 4.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.01083, allocations: 1.268 MB / 0.5641 GB, free: 2.746 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.0111, allocations: 179.5 kB / 0.5643 GB, free: 2.562 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000731/0.01183, allocations: 0.7285 MB / 0.565 GB, free: 1.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.01229, allocations: 0.5023 MB / 0.5655 GB, free: 1.328 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.0124, allocations: 88 kB / 0.5655 GB, free: 1.242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.01273, allocations: 231.8 kB / 0.5658 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.01286, allocations: 242.8 kB / 0.566 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.01309, allocations: 362.8 kB / 0.5663 GB, free: 432 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2146/0.2277, allocations: 1.387 MB / 0.5677 GB, free: 17.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2277, allocations: 0.8438 kB / 0.5677 GB, free: 17.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2277, allocations: 0 / 0.5677 GB, free: 17.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2278, allocations: 1.125 kB / 0.5677 GB, free: 17.6 MB / 442.7 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.00412/0.2319, allocations: 2.287 MB / 0.5699 GB, free: 16.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2319, allocations: 9.062 kB / 0.5699 GB, free: 16.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.232, allocations: 115.4 kB / 0.57 GB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.2346, allocations: 0.7633 MB / 0.5708 GB, free: 16.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.2354, allocations: 0.6498 MB / 0.5714 GB, free: 16.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.2355, allocations: 303.5 kB / 0.5717 GB, free: 16.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.2356, allocations: 65.38 kB / 0.5718 GB, free: 16.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.237, allocations: 0.9409 MB / 0.5727 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.237, allocations: 0.8906 kB / 0.5727 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.2371, allocations: 26.53 kB / 0.5727 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.2371, allocations: 18.25 kB / 0.5727 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.2386, allocations: 0.9655 MB / 0.5737 GB, free: 16.16 MB / 442.7 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.003302/0.2419, allocations: 2.339 MB / 0.576 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2431, allocations: 0.7758 MB / 0.5767 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.244, allocations: 0.621 MB / 0.5773 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-05/0.2441, allocations: 14.28 kB / 0.5773 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2441, allocations: 49.36 kB / 0.5774 GB, free: 14.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 2.114e-06/0.2441, allocations: 1.406 kB / 0.5774 GB, free: 14.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.01494/0.259, allocations: 6.592 MB / 0.5838 GB, free: 13.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.2591, allocations: 60.22 kB / 0.5839 GB, free: 13.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.2597, allocations: 0.7873 MB / 0.5847 GB, free: 13.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.2598, allocations: 40.89 kB / 0.5847 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.26, allocations: 442.6 kB / 0.5851 GB, free: 12.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.2602, allocations: 298.1 kB / 0.5854 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.2604, allocations: 173.8 kB / 0.5856 GB, free: 12.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.2604, allocations: 342.3 kB / 0.5859 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.2613, allocations: 0.6465 MB / 0.5865 GB, free: 11.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.2623, allocations: 0.763 MB / 0.5873 GB, free: 11.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/0.2718, allocations: 4.559 MB / 0.5917 GB, free: 9.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2718, allocations: 1.125 kB / 0.5917 GB, free: 9.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.007009/0.2788, allocations: 4.004 MB / 0.5956 GB, free: 7.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2788, allocations: 13.64 kB / 0.5956 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2788, allocations: 5.531 kB / 0.5957 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/0.2821, allocations: 1.861 MB / 0.5975 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.2824, allocations: 168.7 kB / 0.5976 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.2941, allocations: 8.809 MB / 0.6062 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.2948, allocations: 151.3 kB / 0.6064 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.2949, allocations: 39.98 kB / 0.6064 GB, free: 14.11 MB / 458.7 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.0003537/0.2952, allocations: 219.1 kB / 0.6066 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2954, allocations: 111.3 kB / 0.6067 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006876/0.3022, allocations: 3.787 MB / 0.6104 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3022, allocations: 8 kB / 0.6104 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3023, allocations: 0 / 0.6104 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3023, allocations: 7.984 kB / 0.6104 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007957/0.3102, allocations: 4.705 MB / 0.615 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3102, allocations: 0 / 0.615 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.3105, allocations: 86.8 kB / 0.6151 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003217/0.3137, allocations: 1.743 MB / 0.6168 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.3138, allocations: 8 kB / 0.6168 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.3253, allocations: 7.791 MB / 0.6244 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3253, allocations: 6.812 kB / 0.6244 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008142/0.3335, allocations: 4.661 MB / 0.629 GB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3337, allocations: 115.1 kB / 0.6291 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.454e-05/0.3338, allocations: 16 kB / 0.6291 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.3343, allocations: 87.95 kB / 0.6292 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003638/0.3346, allocations: 208.6 kB / 0.6294 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.3347, allocations: 20 kB / 0.6294 GB, free: 6.469 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.3352, allocations: 0.5302 MB / 0.6299 GB, free: 5.945 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3352, allocations: 0 / 0.6299 GB, free: 5.945 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008891/0.336, allocations: 403.7 kB / 0.6303 GB, free: 5.551 MB / 474.7 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.008753/0.3448, allocations: 5.233 MB / 0.6354 GB, free: 332 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.3486, allocations: 2.192 MB / 0.6376 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3486, allocations: 0 / 0.6376 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.3511, allocations: 1.428 MB / 0.639 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3515, allocations: 83.25 kB / 0.6391 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.3723, allocations: 13.88 MB / 0.6526 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3726, allocations: 444.7 kB / 0.653 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.3728, allocations: 78.17 kB / 0.6531 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.3732, allocations: 376.4 kB / 0.6535 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/0.3732, allocations: 4 kB / 0.6535 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.4153, allocations: 32.94 MB / 0.6856 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/9.341, allocations: 0 / 0.6856 GB, free: 12.99 MB / 0.5261 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.653202184475958] Failed to read output from testmodel.py, exit status != 0: 9.444578798487782 9.457865641 9.227354947 Calling exit ...