Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.001794/0.001794, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.434/1.434, allocations: 230.6 MB / 252.6 MB, free: 8.34 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.001662/0.001662, allocations: 223.5 kB / 309.2 MB, free: 3.18 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.4301/0.4301, allocations: 79.74 MB / 445.4 MB, free: 14.89 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.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.002607/0.002607, allocations: 87.81 kB / 0.5929 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1382, allocations: 73.3 MB / 0.6645 GB, free: 4.605 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.007312/0.1456, allocations: 5.429 MB / 0.6698 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.1491, allocations: 1.751 MB / 0.6715 GB, free: 13.4 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.1495, allocations: 8 kB / 0.6715 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.15, allocations: 190.3 kB / 0.6717 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1516, allocations: 0.6908 MB / 0.6724 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1527, allocations: 0.5192 MB / 0.6729 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1539, allocations: 1.113 MB / 0.674 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.1542, allocations: 187.3 kB / 0.6742 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.1548, allocations: 497.9 kB / 0.6746 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007876/0.1556, allocations: 0.6262 MB / 0.6753 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1557, allocations: 88 kB / 0.6753 GB, free: 9.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.1562, allocations: 235.8 kB / 0.6756 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.1564, allocations: 247 kB / 0.6758 GB, free: 9.008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.1568, allocations: 0.5048 MB / 0.6763 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1582, allocations: 1.299 MB / 0.6776 GB, free: 7.195 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1583, allocations: 0 / 0.6776 GB, free: 7.195 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1583, allocations: 0 / 0.6776 GB, free: 7.195 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1583, allocations: 0 / 0.6776 GB, free: 7.195 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.007241/0.1655, allocations: 2.171 MB / 0.6797 GB, free: 4.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1655, allocations: 11.98 kB / 0.6797 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.1657, allocations: 106.7 kB / 0.6798 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.1701, allocations: 0.6864 MB / 0.6805 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.1712, allocations: 0.6128 MB / 0.6811 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.1714, allocations: 176.1 kB / 0.6812 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.1716, allocations: 64 kB / 0.6813 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.1735, allocations: 0.8926 MB / 0.6822 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1735, allocations: 0 / 0.6822 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.1736, allocations: 20 kB / 0.6822 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1736, allocations: 19.94 kB / 0.6822 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.1757, allocations: 0.9264 MB / 0.6831 GB, free: 1.41 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.004537/0.1802, allocations: 2.429 MB / 0.6855 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.1821, allocations: 0.7524 MB / 0.6862 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.1834, allocations: 0.5976 MB / 0.6868 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1835, allocations: 12.98 kB / 0.6868 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1836, allocations: 43.56 kB / 0.6868 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.1836, allocations: 4 kB / 0.6869 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=83): time 0.02254/0.2061, allocations: 5.417 MB / 0.6921 GB, free: 8.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.2061, allocations: 64.41 kB / 0.6922 GB, free: 7.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2072, allocations: 0.7671 MB / 0.693 GB, free: 7.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.2074, allocations: 41.7 kB / 0.693 GB, free: 7.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.2077, allocations: 405.2 kB / 0.6934 GB, free: 6.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.208, allocations: 321.2 kB / 0.6937 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.2084, allocations: 182.9 kB / 0.6939 GB, free: 6.211 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2086, allocations: 349.8 kB / 0.6942 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.21, allocations: 0.6194 MB / 0.6948 GB, free: 5.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.2115, allocations: 0.731 MB / 0.6955 GB, free: 4.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/0.2296, allocations: 4.331 MB / 0.6997 GB, free: 132 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2296, allocations: 0 / 0.6997 GB, free: 132 kB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.2468/0.4764, allocations: 3.557 MB / 0.7032 GB, free: 33.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4764, allocations: 5.312 kB / 0.7032 GB, free: 33.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4764, allocations: 6.922 kB / 0.7032 GB, free: 33.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005736/0.4822, allocations: 1.506 MB / 0.7047 GB, free: 33.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4832, allocations: 185.4 kB / 0.7049 GB, free: 33.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/0.5014, allocations: 8.055 MB / 0.7127 GB, free: 31.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5026, allocations: 145.3 kB / 0.7129 GB, free: 31.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.5027, allocations: 37.17 kB / 0.7129 GB, free: 31.44 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003852/0.503, allocations: 250.5 kB / 0.7132 GB, free: 31.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.5032, allocations: 103.2 kB / 0.7133 GB, free: 31.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.5146, allocations: 3.372 MB / 0.7165 GB, free: 30.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5146, allocations: 9.125 kB / 0.7166 GB, free: 30.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5147, allocations: 3.938 kB / 0.7166 GB, free: 30.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.5147, allocations: 5.297 kB / 0.7166 GB, free: 30.42 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.0122/0.5269, allocations: 4.726 MB / 0.7212 GB, free: 28.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.5269, allocations: 1.188 kB / 0.7212 GB, free: 28.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.5275, allocations: 100 kB / 0.7213 GB, free: 28.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005478/0.5329, allocations: 1.524 MB / 0.7228 GB, free: 28.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.5331, allocations: 20.41 kB / 0.7228 GB, free: 28.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.5485, allocations: 7.243 MB / 0.7299 GB, free: 23.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5485, allocations: 3.938 kB / 0.7299 GB, free: 23.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.5607, allocations: 4.262 MB / 0.734 GB, free: 21.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.5609, allocations: 109.3 kB / 0.7341 GB, free: 21.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.561, allocations: 19.7 kB / 0.7341 GB, free: 21.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/0.5618, allocations: 86.16 kB / 0.7342 GB, free: 21.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.5623, allocations: 183.7 kB / 0.7344 GB, free: 21.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.5624, allocations: 15.56 kB / 0.7344 GB, free: 21.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005269/0.5629, allocations: 0.5179 MB / 0.7349 GB, free: 21.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5629, allocations: 0 / 0.7349 GB, free: 21.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001119/0.564, allocations: 386.5 kB / 0.7353 GB, free: 20.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01191/0.5759, allocations: 4.828 MB / 0.74 GB, free: 17.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004955/0.5809, allocations: 2.026 MB / 0.742 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5809, allocations: 0 / 0.742 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.5842, allocations: 1.294 MB / 0.7432 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.5849, allocations: 75.3 kB / 0.7433 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/0.6136, allocations: 13.15 MB / 0.7562 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.6142, allocations: 1.029 MB / 0.7572 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.6146, allocations: 97.38 kB / 0.7573 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.6151, allocations: 363.3 kB / 0.7576 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.6151, allocations: 0 / 0.7576 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07052/0.6856, allocations: 31.05 MB / 0.7879 GB, free: 76 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/17.6, allocations: 7.672 kB / 0.7879 GB, free: 72 kB / 0.5137 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.857158537997748] Failed to read output from testmodel.py, exit status != 0: 17.729840966003394 17.746576424 17.585023133 Calling exit ...