Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.001262/0.001262, allocations: 108.9 kB / 16.46 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.452/1.452, allocations: 230.6 MB / 249.8 MB, free: 9.246 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.001652/0.001652, allocations: 213 kB / 306 MB, free: 4.305 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.4488/0.4488, allocations: 79.71 MB / 441.8 MB, free: 148 kB / 302.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.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",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.003646/0.003646, allocations: 79.88 kB / 0.5878 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1413, allocations: 73.26 MB / 0.6594 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.00673/0.148, allocations: 5.376 MB / 0.6646 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.1514, allocations: 1.739 MB / 0.6663 GB, free: 1.039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.1517, allocations: 11.94 kB / 0.6663 GB, free: 1.027 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.1522, allocations: 178.4 kB / 0.6665 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.1538, allocations: 0.6996 MB / 0.6672 GB, free: 156 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1549, allocations: 0.5236 MB / 0.6677 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.1561, allocations: 1.101 MB / 0.6688 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.1565, allocations: 190.6 kB / 0.6689 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.1571, allocations: 489.9 kB / 0.6694 GB, free: 13.85 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007446/0.1578, allocations: 0.6223 MB / 0.67 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.1579, allocations: 84 kB / 0.6701 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.1584, allocations: 239.8 kB / 0.6703 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.1586, allocations: 243 kB / 0.6706 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004756/0.1591, allocations: 0.5086 MB / 0.6711 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.1606, allocations: 1.303 MB / 0.6723 GB, free: 10.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1606, allocations: 0 / 0.6723 GB, free: 10.85 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1606, allocations: 0 / 0.6723 GB, free: 10.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.1606, allocations: 0 / 0.6723 GB, free: 10.85 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.007632/0.1682, allocations: 2.215 MB / 0.6745 GB, free: 8.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1682, allocations: 12.03 kB / 0.6745 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.1684, allocations: 110.7 kB / 0.6746 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.1732, allocations: 0.6903 MB / 0.6753 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1743, allocations: 0.6745 MB / 0.6759 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.1745, allocations: 176.1 kB / 0.6761 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.1746, allocations: 67.95 kB / 0.6762 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.1768, allocations: 0.8848 MB / 0.677 GB, free: 5.883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1768, allocations: 3.938 kB / 0.677 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.1769, allocations: 24 kB / 0.6771 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.1769, allocations: 19.94 kB / 0.6771 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1792, allocations: 0.9303 MB / 0.678 GB, free: 4.906 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.00474/0.1839, allocations: 2.464 MB / 0.6804 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.186, allocations: 1.038 MB / 0.6814 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.1874, allocations: 0.5976 MB / 0.682 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.1875, allocations: 12.98 kB / 0.682 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.1875, allocations: 47.56 kB / 0.6821 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.584e-06/0.1875, allocations: 3.938 kB / 0.6821 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02523/0.2128, allocations: 5.572 MB / 0.6875 GB, free: 10.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2128, allocations: 64.41 kB / 0.6876 GB, free: 10.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2139, allocations: 0.7632 MB / 0.6883 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.214, allocations: 41.7 kB / 0.6883 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.2144, allocations: 405.2 kB / 0.6887 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.2147, allocations: 317.3 kB / 0.689 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.2151, allocations: 182.9 kB / 0.6892 GB, free: 9.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2153, allocations: 345.9 kB / 0.6895 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.2169, allocations: 0.6272 MB / 0.6902 GB, free: 8.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.2185, allocations: 0.731 MB / 0.6909 GB, free: 7.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01985/0.2384, allocations: 4.299 MB / 0.6951 GB, free: 3.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.2384, allocations: 4 kB / 0.6951 GB, free: 3.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.2537/0.4921, allocations: 3.506 MB / 0.6985 GB, free: 34.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4921, allocations: 7.031 kB / 0.6985 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.4921, allocations: 1.156 kB / 0.6985 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.4977, allocations: 1.43 MB / 0.6999 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.4987, allocations: 197.4 kB / 0.7001 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.5182, allocations: 8.125 MB / 0.708 GB, free: 32.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5195, allocations: 152.6 kB / 0.7082 GB, free: 32.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5196, allocations: 36.39 kB / 0.7082 GB, free: 32.35 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 exponentialRecovery.xp:VARIABLE(start = 0.0 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 (101): * Single equations (assignments): 100 * 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 {(18,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.5201, allocations: 233.2 kB / 0.7084 GB, free: 32.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.5203, allocations: 103.1 kB / 0.7085 GB, free: 32.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.5331, allocations: 3.332 MB / 0.7118 GB, free: 31.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.5331, allocations: 15.25 kB / 0.7118 GB, free: 31.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5331, allocations: 0 / 0.7118 GB, free: 31.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.5331, allocations: 4.688 kB / 0.7118 GB, free: 31.41 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.01363/0.5467, allocations: 4.686 MB / 0.7164 GB, free: 29.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.5468, allocations: 4.656 kB / 0.7164 GB, free: 29.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.5474, allocations: 98.98 kB / 0.7165 GB, free: 29.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005581/0.553, allocations: 1.47 MB / 0.7179 GB, free: 29.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.5531, allocations: 19.31 kB / 0.7179 GB, free: 29.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.5696, allocations: 7.473 MB / 0.7252 GB, free: 25.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5696, allocations: 1.188 kB / 0.7252 GB, free: 25.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.5824, allocations: 4.177 MB / 0.7293 GB, free: 23.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.5826, allocations: 193.3 kB / 0.7295 GB, free: 23.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.5828, allocations: 12.92 kB / 0.7295 GB, free: 23.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/0.5836, allocations: 95.08 kB / 0.7296 GB, free: 23.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005023/0.5841, allocations: 163.8 kB / 0.7297 GB, free: 23.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.5842, allocations: 27.75 kB / 0.7298 GB, free: 23.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005739/0.5848, allocations: 0.5154 MB / 0.7303 GB, free: 22.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5848, allocations: 0 / 0.7303 GB, free: 22.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001211/0.586, allocations: 378.6 kB / 0.7306 GB, free: 22.7 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,exponentialRecovery.xp,exponentialRecovery.xq) * 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 (52): * Single equations (assignments): 51 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/0.5987, allocations: 4.756 MB / 0.7353 GB, free: 20.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005425/0.6041, allocations: 1.993 MB / 0.7372 GB, free: 19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6041, allocations: 0.75 kB / 0.7372 GB, free: 19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.6078, allocations: 1.276 MB / 0.7385 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.6086, allocations: 78.41 kB / 0.7385 GB, free: 17.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/0.6373, allocations: 13.01 MB / 0.7513 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.6377, allocations: 1.026 MB / 0.7523 GB, free: 3.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.638, allocations: 97.42 kB / 0.7523 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.6384, allocations: 367.3 kB / 0.7527 GB, free: 2.98 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6384, allocations: 0 / 0.7527 GB, free: 2.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.7051, allocations: 29.45 MB / 0.7815 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.14, allocations: 2.812 kB / 0.7815 GB, free: 5.68 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery_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_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.38853883399861] Failed to read output from testmodel.py, exit status != 0: 16.25502864801092 16.277359404 16.1137814 Calling exit ...