Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001706/0.001706, allocations: 108.7 kB / 16.45 MB, free: 6.453 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 249.8 MB, free: 9.207 MB / 206.1 MB " [Timeout remaining time 178] 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.001564/0.001564, allocations: 207.7 kB / 306 MB, free: 4.281 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4391/0.4391, allocations: 79.71 MB / 441.8 MB, free: 15.93 MB / 318.1 MB " [Timeout remaining time 179] 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.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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 91.84 kB / 0.5878 GB, free: 1.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1275, allocations: 73.25 MB / 0.6594 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00781/0.1353, allocations: 6.423 MB / 0.6656 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.1396, allocations: 1.946 MB / 0.6675 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.1405, allocations: 15.94 kB / 0.6676 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.1412, allocations: 226 kB / 0.6678 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.1433, allocations: 0.7908 MB / 0.6685 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1448, allocations: 0.627 MB / 0.6692 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.1467, allocations: 1.405 MB / 0.6705 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.1471, allocations: 220.4 kB / 0.6707 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009203/0.1481, allocations: 0.6068 MB / 0.6713 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.149, allocations: 0.731 MB / 0.672 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1491, allocations: 100 kB / 0.6721 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.1497, allocations: 255.8 kB / 0.6724 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.1499, allocations: 286.7 kB / 0.6727 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.1505, allocations: 0.6135 MB / 0.6733 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.1524, allocations: 1.532 MB / 0.6748 GB, free: 8.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1524, allocations: 0 / 0.6748 GB, free: 8.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1524, allocations: 3.938 kB / 0.6748 GB, free: 8.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.1524, allocations: 0 / 0.6748 GB, free: 8.176 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.009052/0.1615, allocations: 2.609 MB / 0.6773 GB, free: 5.508 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1615, allocations: 12.03 kB / 0.6773 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.1617, allocations: 130.7 kB / 0.6774 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005768/0.1675, allocations: 0.8147 MB / 0.6782 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.1692, allocations: 0.789 MB / 0.679 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.1696, allocations: 256.1 kB / 0.6793 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.1698, allocations: 75.98 kB / 0.6793 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.1724, allocations: 1.085 MB / 0.6804 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1725, allocations: 0 / 0.6804 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1726, allocations: 31.98 kB / 0.6804 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.1726, allocations: 20 kB / 0.6804 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.1754, allocations: 1.117 MB / 0.6815 GB, free: 1.078 MB / 478.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.006572/0.182, allocations: 3.429 MB / 0.6849 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.1845, allocations: 1.324 MB / 0.6862 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.1864, allocations: 0.6992 MB / 0.6868 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.1865, allocations: 16.97 kB / 0.6869 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1865, allocations: 43.56 kB / 0.6869 GB, free: 11.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.876e-06/0.1865, allocations: 0 / 0.6869 GB, free: 11.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02975/0.2163, allocations: 6.723 MB / 0.6935 GB, free: 4.523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2164, allocations: 64.41 kB / 0.6935 GB, free: 4.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.2177, allocations: 0.8923 MB / 0.6944 GB, free: 3.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.218, allocations: 49.7 kB / 0.6945 GB, free: 3.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.2184, allocations: 0.4975 MB / 0.6949 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.2188, allocations: 349 kB / 0.6953 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.2193, allocations: 194.9 kB / 0.6955 GB, free: 2.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2194, allocations: 349.9 kB / 0.6958 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.2213, allocations: 0.7209 MB / 0.6965 GB, free: 1.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.2233, allocations: 0.8383 MB / 0.6973 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2488/0.472, allocations: 4.893 MB / 0.7021 GB, free: 34.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4721, allocations: 0.8438 kB / 0.7021 GB, free: 34.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01528/0.4873, allocations: 4.233 MB / 0.7062 GB, free: 34.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4874, allocations: 7.125 kB / 0.7062 GB, free: 34.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4874, allocations: 5.688 kB / 0.7062 GB, free: 34.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007054/0.4944, allocations: 1.865 MB / 0.7081 GB, free: 34.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4956, allocations: 206.5 kB / 0.7083 GB, free: 34.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/0.5185, allocations: 9.085 MB / 0.7171 GB, free: 30.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.52, allocations: 178.4 kB / 0.7173 GB, free: 30.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.5201, allocations: 39.48 kB / 0.7173 GB, free: 30.16 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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.000471/0.5206, allocations: 255.2 kB / 0.7176 GB, free: 29.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.5208, allocations: 124.1 kB / 0.7177 GB, free: 29.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.5345, allocations: 3.97 MB / 0.7216 GB, free: 28.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.5345, allocations: 9.469 kB / 0.7216 GB, free: 28.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5345, allocations: 5.094 kB / 0.7216 GB, free: 28.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.5346, allocations: 5.062 kB / 0.7216 GB, free: 28.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.5498, allocations: 5.585 MB / 0.727 GB, free: 25.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5498, allocations: 0 / 0.727 GB, free: 25.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.5505, allocations: 135.5 kB / 0.7272 GB, free: 25.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00601/0.5565, allocations: 1.746 MB / 0.7289 GB, free: 24.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/0.5567, allocations: 15.88 kB / 0.7289 GB, free: 24.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.5742, allocations: 8.067 MB / 0.7368 GB, free: 18.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5742, allocations: 4.938 kB / 0.7368 GB, free: 18.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.5889, allocations: 4.941 MB / 0.7416 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.5892, allocations: 210.8 kB / 0.7418 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.5893, allocations: 20.06 kB / 0.7418 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5904, allocations: 113.3 kB / 0.7419 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006273/0.591, allocations: 216.6 kB / 0.7421 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.5911, allocations: 32.69 kB / 0.7422 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005979/0.5917, allocations: 0.593 MB / 0.7428 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5917, allocations: 5.094 kB / 0.7428 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001165/0.5928, allocations: 436.3 kB / 0.7432 GB, free: 12.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01464/0.6075, allocations: 5.521 MB / 0.7486 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006629/0.6141, allocations: 2.374 MB / 0.7509 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6141, allocations: 2.734 kB / 0.7509 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004545/0.6186, allocations: 1.518 MB / 0.7524 GB, free: 2.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.6194, allocations: 92.36 kB / 0.7525 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/0.6598, allocations: 15.12 MB / 0.7672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.6605, allocations: 1.09 MB / 0.7683 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.6609, allocations: 94.75 kB / 0.7684 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.6616, allocations: 447.3 kB / 0.7688 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.6616, allocations: 3.938 kB / 0.7688 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07606/0.7376, allocations: 33.71 MB / 0.8017 GB, free: 15.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/18.32, allocations: 10.03 kB / 0.8017 GB, free: 15.98 MB / 0.545 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation_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_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.694187426997814] Failed to read output from testmodel.py, exit status != 0: 18.429423781999503 18.449266632 18.293057223 Calling exit ...