Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.001475/0.001475, allocations: 109 kB / 16.45 MB, free: 6.508 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.561/1.561, allocations: 230.6 MB / 249.8 MB, free: 9.234 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.001735/0.001735, allocations: 216.6 kB / 306 MB, free: 4.312 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.5668/0.5668, allocations: 101.3 MB / 463.4 MB, free: 11.91 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.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",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.002563/0.002563, allocations: 97.73 kB / 0.6193 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1805, allocations: 78.57 MB / 0.696 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.3406/0.5211, allocations: 6.065 MB / 0.702 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.525, allocations: 1.84 MB / 0.7038 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000786/0.5257, allocations: 8.156 kB / 0.7038 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.5264, allocations: 243.6 kB / 0.704 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.5278, allocations: 0.606 MB / 0.7046 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.5294, allocations: 0.7298 MB / 0.7053 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.5309, allocations: 1.408 MB / 0.7067 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.5312, allocations: 199.9 kB / 0.7069 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006421/0.5319, allocations: 0.588 MB / 0.7074 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000719/0.5326, allocations: 0.7302 MB / 0.7082 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.5327, allocations: 109.2 kB / 0.7083 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.5332, allocations: 221.3 kB / 0.7085 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.5334, allocations: 287.7 kB / 0.7088 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.5339, allocations: 0.6012 MB / 0.7093 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.5356, allocations: 1.493 MB / 0.7108 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5356, allocations: 0 / 0.7108 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5356, allocations: 0 / 0.7108 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.5357, allocations: 6.562 kB / 0.7108 GB, free: 0.5625 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008725/0.5444, allocations: 2.563 MB / 0.7133 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5444, allocations: 8.734 kB / 0.7133 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.5446, allocations: 126 kB / 0.7134 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.549, allocations: 0.6796 MB / 0.7141 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.5505, allocations: 0.7579 MB / 0.7148 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004998/0.551, allocations: 352.6 kB / 0.7152 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.5512, allocations: 72.45 kB / 0.7152 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.554, allocations: 1.129 MB / 0.7163 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.554, allocations: 0 / 0.7163 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.5541, allocations: 34.59 kB / 0.7164 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.5541, allocations: 16.91 kB / 0.7164 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.5569, allocations: 1.078 MB / 0.7174 GB, free: 13.5 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.008516/0.5654, allocations: 3.704 MB / 0.7211 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008923/0.5743, allocations: 2.432 MB / 0.7234 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.5765, allocations: 0.6975 MB / 0.7241 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5766, allocations: 13.69 kB / 0.7241 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.5767, allocations: 47.34 kB / 0.7242 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 3.366e-06/0.5767, allocations: 0 / 0.7242 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.03742/0.6141, allocations: 8.232 MB / 0.7322 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.6142, allocations: 90.98 kB / 0.7323 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.6157, allocations: 0.8341 MB / 0.7331 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003515/0.6161, allocations: 45.3 kB / 0.7332 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.6165, allocations: 457.5 kB / 0.7336 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.6171, allocations: 341.2 kB / 0.7339 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/0.6175, allocations: 164.1 kB / 0.7341 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.6177, allocations: 347.3 kB / 0.7344 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.6197, allocations: 0.6534 MB / 0.7351 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.6218, allocations: 0.8032 MB / 0.7358 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/0.6402, allocations: 4.59 MB / 0.7403 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.6402, allocations: 5.125 kB / 0.7403 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01698/0.6572, allocations: 4.353 MB / 0.7446 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.6573, allocations: 10.2 kB / 0.7446 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6573, allocations: 8.031 kB / 0.7446 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008456/0.6657, allocations: 2.141 MB / 0.7467 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.6665, allocations: 139.8 kB / 0.7468 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03343/0.7, allocations: 10.79 MB / 0.7574 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.7018, allocations: 159.3 kB / 0.7575 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.7021, allocations: 35.98 kB / 0.7575 GB, free: 2.531 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: SPQ.id:VARIABLE(start = SPQ.idref unit = \"1\" fixed = true ) \"d-axis current\" type: Real SPQ.iq:VARIABLE(start = SPQ.iqref unit = \"1\" fixed = true ) \"q-axis current\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (83): * Single equations (assignments): 82 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0007969/0.7029, allocations: 229.7 kB / 0.7578 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/0.7034, allocations: 119.2 kB / 0.7579 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.7207, allocations: 4.333 MB / 0.7621 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.7207, allocations: 15.94 kB / 0.7621 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7207, allocations: 3.984 kB / 0.7621 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.7207, allocations: 3.984 kB / 0.7621 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.7412, allocations: 5.741 MB / 0.7677 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.7412, allocations: 4 kB / 0.7677 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.7418, allocations: 83.91 kB / 0.7678 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008505/0.7503, allocations: 2.041 MB / 0.7698 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002931/0.7506, allocations: 23.94 kB / 0.7698 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02972/0.7803, allocations: 9.569 MB / 0.7792 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7803, allocations: 8 kB / 0.7792 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/0.8001, allocations: 5.296 MB / 0.7844 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.8005, allocations: 204.2 kB / 0.7846 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/0.8009, allocations: 23.94 kB / 0.7846 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.8024, allocations: 107.9 kB / 0.7847 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008493/0.8033, allocations: 220.7 kB / 0.7849 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.8034, allocations: 31.92 kB / 0.7849 GB, free: 6.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009872/0.8044, allocations: 0.57 MB / 0.7855 GB, free: 5.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.8044, allocations: 0 / 0.7855 GB, free: 5.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001824/0.8062, allocations: 435.7 kB / 0.7859 GB, free: 5.145 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.iq,gENCLS.omega) * 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 (54): * Single equations (assignments): 53 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01962/0.8258, allocations: 5.867 MB / 0.7916 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009523/0.8353, allocations: 2.437 MB / 0.794 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8353, allocations: 0 / 0.794 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006953/0.8423, allocations: 1.664 MB / 0.7956 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.8435, allocations: 102 kB / 0.7957 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04913/0.8927, allocations: 15.45 MB / 0.8108 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.8937, allocations: 1.053 MB / 0.8118 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005008/0.8942, allocations: 86.44 kB / 0.8119 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/0.895, allocations: 403.3 kB / 0.8123 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of SimCode: time 9.71e-07/0.895, allocations: 0 / 0.8123 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08558/0.9806, allocations: 36.44 MB / 0.8479 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/18.02, allocations: 15.11 kB / 0.8479 GB, free: 5.414 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.79437130386941] Failed to read output from testmodel.py, exit status != 0: 18.139395085163414 18.161391732 17.621597319 Calling exit ...