Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.001253/0.001253, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.441/1.441, allocations: 230.6 MB / 252.7 MB, free: 8.309 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.00166/0.00166, allocations: 213.7 kB / 309.2 MB, free: 3.168 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5564/0.5564, allocations: 101.3 MB / 467 MB, free: 10.37 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.002515/0.002515, allocations: 87.86 kB / 0.6244 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4381, allocations: 78.62 MB / 0.7012 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005114/0.4432, allocations: 5.356 MB / 0.7064 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.4462, allocations: 1.754 MB / 0.7081 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.4467, allocations: 13.41 kB / 0.7082 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.4471, allocations: 186.4 kB / 0.7083 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.4486, allocations: 0.6877 MB / 0.709 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009914/0.4496, allocations: 0.5194 MB / 0.7095 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009973/0.4506, allocations: 1.093 MB / 0.7106 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.4509, allocations: 186 kB / 0.7108 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.4514, allocations: 490 kB / 0.7112 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.452, allocations: 0.5991 MB / 0.7118 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.4521, allocations: 79.81 kB / 0.7119 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.4525, allocations: 232.1 kB / 0.7121 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.4527, allocations: 233.9 kB / 0.7123 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.453, allocations: 0.4938 MB / 0.7128 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.4542, allocations: 1.255 MB / 0.714 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4542, allocations: 0 / 0.714 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4542, allocations: 3.5 kB / 0.714 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.4542, allocations: 3.938 kB / 0.714 GB, free: 1.062 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006578/0.4608, allocations: 2.109 MB / 0.7161 GB, free: 104 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4609, allocations: 9.047 kB / 0.7161 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.461, allocations: 105.2 kB / 0.7162 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.4653, allocations: 0.6826 MB / 0.7169 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.4664, allocations: 0.6111 MB / 0.7175 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.4667, allocations: 175.8 kB / 0.7176 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.4668, allocations: 59.53 kB / 0.7177 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.4686, allocations: 0.8532 MB / 0.7185 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4686, allocations: 3.938 kB / 0.7185 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.4687, allocations: 26.03 kB / 0.7186 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4687, allocations: 19.75 kB / 0.7186 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.4706, allocations: 0.8893 MB / 0.7195 GB, free: 14.68 MB / 0.4981 GB 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.004605/0.4753, allocations: 2.375 MB / 0.7218 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.4769, allocations: 0.6606 MB / 0.7224 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.4782, allocations: 0.5668 MB / 0.723 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.4783, allocations: 9.156 kB / 0.723 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.4784, allocations: 39.09 kB / 0.723 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.4784, allocations: 4 kB / 0.723 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76): time 0.02296/0.5013, allocations: 5.45 MB / 0.7283 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.5014, allocations: 58.88 kB / 0.7284 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.5025, allocations: 0.771 MB / 0.7292 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.5027, allocations: 40.2 kB / 0.7292 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.503, allocations: 399.9 kB / 0.7296 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.5034, allocations: 288.7 kB / 0.7299 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.5038, allocations: 181.1 kB / 0.73 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5039, allocations: 351.9 kB / 0.7304 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.5053, allocations: 0.5944 MB / 0.7309 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.5067, allocations: 0.7102 MB / 0.7316 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.5096, allocations: 1.303 MB / 0.7329 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5096, allocations: 5.188 kB / 0.7329 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01147/0.521, allocations: 3.468 MB / 0.7363 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5211, allocations: 9.906 kB / 0.7363 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5211, allocations: 6.453 kB / 0.7363 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/0.5264, allocations: 1.445 MB / 0.7377 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/0.5273, allocations: 177.2 kB / 0.7379 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.546, allocations: 7.708 MB / 0.7454 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5477, allocations: 145.3 kB / 0.7456 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.5478, allocations: 35.64 kB / 0.7456 GB, free: 0.9336 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" 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 (94): * Single equations (assignments): 93 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.5484, allocations: 226 kB / 0.7458 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.5487, allocations: 105.2 kB / 0.7459 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.5595, allocations: 3.185 MB / 0.749 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.5596, allocations: 8.594 kB / 0.749 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5596, allocations: 0 / 0.749 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.5596, allocations: 3.984 kB / 0.749 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.5727, allocations: 4.497 MB / 0.7534 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.5727, allocations: 0 / 0.7534 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.5733, allocations: 95.88 kB / 0.7535 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004983/0.5783, allocations: 1.41 MB / 0.7549 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.5785, allocations: 19.98 kB / 0.7549 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/0.5946, allocations: 6.634 MB / 0.7614 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5946, allocations: 0 / 0.7614 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.6074, allocations: 4.031 MB / 0.7653 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.6078, allocations: 111.2 kB / 0.7654 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.608, allocations: 12 kB / 0.7654 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.6088, allocations: 87.89 kB / 0.7655 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/0.6094, allocations: 172.3 kB / 0.7657 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.6094, allocations: 20 kB / 0.7657 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007377/0.6102, allocations: 0.5146 MB / 0.7662 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6102, allocations: 0 / 0.7662 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001205/0.6114, allocations: 359.7 kB / 0.7666 GB, free: 13.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01329/0.6247, allocations: 4.598 MB / 0.771 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005829/0.6305, allocations: 1.948 MB / 0.7729 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6305, allocations: 0 / 0.7729 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/0.6344, allocations: 1.249 MB / 0.7742 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.6352, allocations: 73.98 kB / 0.7742 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/0.6687, allocations: 12.71 MB / 0.7866 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.6694, allocations: 1.009 MB / 0.7876 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004442/0.6698, allocations: 97.53 kB / 0.7877 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.6703, allocations: 351.3 kB / 0.7881 GB, free: 6.754 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.6703, allocations: 0 / 0.7881 GB, free: 6.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06995/0.7402, allocations: 28.61 MB / 0.816 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.73, allocations: 9.703 kB / 0.816 GB, free: 10.28 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.161956224997994] Failed to read output from testmodel.py, exit status != 0: 16.8579754099992 16.887464464 16.427663146 Calling exit ...