Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.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.001682/0.001682, 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.44/1.44, 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.001637/0.001637, allocations: 210.7 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.4455/0.4455, allocations: 79.74 MB / 445.4 MB, free: 14.88 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.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",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.002544/0.002544, allocations: 90 kB / 0.5929 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1355, allocations: 73.29 MB / 0.6645 GB, free: 4.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.006965/0.1425, allocations: 5.364 MB / 0.6698 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1459, allocations: 1.731 MB / 0.6715 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.1463, allocations: 12 kB / 0.6715 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.1467, allocations: 182.4 kB / 0.6716 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.1483, allocations: 0.6973 MB / 0.6723 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1494, allocations: 0.5057 MB / 0.6728 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1506, allocations: 1.09 MB / 0.6739 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.1509, allocations: 191.2 kB / 0.6741 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.1515, allocations: 490 kB / 0.6745 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.1523, allocations: 0.6106 MB / 0.6751 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.1525, allocations: 84 kB / 0.6752 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.1529, allocations: 235.8 kB / 0.6754 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.1531, allocations: 235 kB / 0.6757 GB, free: 9.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.1536, allocations: 0.5009 MB / 0.6761 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.1551, allocations: 1.28 MB / 0.6774 GB, free: 7.387 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1551, allocations: 0 / 0.6774 GB, free: 7.387 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1551, allocations: 4 kB / 0.6774 GB, free: 7.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1551, allocations: 0 / 0.6774 GB, free: 7.383 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006961/0.1621, allocations: 2.14 MB / 0.6795 GB, free: 5.207 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1621, allocations: 11.98 kB / 0.6795 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.1623, allocations: 106.7 kB / 0.6796 GB, free: 5.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.1667, allocations: 0.6903 MB / 0.6803 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1678, allocations: 0.6011 MB / 0.6809 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.168, allocations: 180.1 kB / 0.681 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.1682, allocations: 60 kB / 0.6811 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.17, allocations: 0.877 MB / 0.6819 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.17, allocations: 0 / 0.6819 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.1701, allocations: 23.94 kB / 0.682 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.1701, allocations: 19.94 kB / 0.682 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.1722, allocations: 0.9069 MB / 0.6829 GB, free: 1.668 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.004484/0.1767, allocations: 2.413 MB / 0.6852 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.1783, allocations: 0.7103 MB / 0.6859 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.1796, allocations: 0.5771 MB / 0.6865 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.1798, allocations: 16.62 kB / 0.6865 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1798, allocations: 47.16 kB / 0.6865 GB, free: 13.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=81): time 2.715e-06/0.1798, allocations: 0 / 0.6865 GB, free: 13.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.02358/0.2034, allocations: 5.574 MB / 0.692 GB, free: 8.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.2034, allocations: 60.06 kB / 0.692 GB, free: 8.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2045, allocations: 0.7592 MB / 0.6928 GB, free: 7.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.2047, allocations: 41.7 kB / 0.6928 GB, free: 7.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.205, allocations: 401.1 kB / 0.6932 GB, free: 6.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.2053, allocations: 313.4 kB / 0.6935 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.2057, allocations: 182.9 kB / 0.6937 GB, free: 6.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2058, allocations: 345.9 kB / 0.694 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2073, allocations: 0.6116 MB / 0.6946 GB, free: 5.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.2088, allocations: 0.7232 MB / 0.6953 GB, free: 4.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.2117, allocations: 1.335 MB / 0.6966 GB, free: 3.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2117, allocations: 0 / 0.6966 GB, free: 3.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.2849/0.4966, allocations: 3.566 MB / 0.7001 GB, free: 32.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4966, allocations: 7.312 kB / 0.7001 GB, free: 32.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4967, allocations: 4.969 kB / 0.7001 GB, free: 32.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00549/0.5021, allocations: 1.512 MB / 0.7016 GB, free: 32.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.5031, allocations: 170.5 kB / 0.7018 GB, free: 32.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.5215, allocations: 8.092 MB / 0.7097 GB, free: 30.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.5227, allocations: 144.8 kB / 0.7098 GB, free: 30.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.5228, allocations: 35.8 kB / 0.7098 GB, free: 30.59 MB / 494.1 MB 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.5232, allocations: 226 kB / 0.71 GB, free: 30.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.5233, allocations: 102.7 kB / 0.7101 GB, free: 30.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.535, allocations: 3.344 MB / 0.7134 GB, free: 29.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/0.535, allocations: 10 kB / 0.7134 GB, free: 29.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.535, allocations: 0.7031 kB / 0.7134 GB, free: 29.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/0.535, allocations: 12.19 kB / 0.7134 GB, free: 29.66 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.01495/0.55, allocations: 4.783 MB / 0.7181 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.55, allocations: 0 / 0.7181 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.5506, allocations: 100.5 kB / 0.7182 GB, free: 28.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/0.5562, allocations: 1.516 MB / 0.7197 GB, free: 27.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/0.5563, allocations: 20.38 kB / 0.7197 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/0.5719, allocations: 7.185 MB / 0.7267 GB, free: 24.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5719, allocations: 7.75 kB / 0.7267 GB, free: 24.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.5841, allocations: 4.155 MB / 0.7308 GB, free: 22.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.5845, allocations: 110.7 kB / 0.7309 GB, free: 22.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.5846, allocations: 25.81 kB / 0.7309 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.5855, allocations: 86.12 kB / 0.731 GB, free: 22.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.586, allocations: 176.3 kB / 0.7312 GB, free: 21.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.5861, allocations: 18.59 kB / 0.7312 GB, free: 21.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006248/0.5867, allocations: 0.5171 MB / 0.7317 GB, free: 21.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5867, allocations: 4 kB / 0.7317 GB, free: 21.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001251/0.5879, allocations: 377.5 kB / 0.732 GB, free: 21.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,frequencyDependent.x) * 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 (48): * Single equations (assignments): 47 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0119/0.5998, allocations: 4.738 MB / 0.7367 GB, free: 18.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.6049, allocations: 2.005 MB / 0.7386 GB, free: 17.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6049, allocations: 0 / 0.7386 GB, free: 17.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/0.6083, allocations: 1.274 MB / 0.7399 GB, free: 17.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.609, allocations: 86.7 kB / 0.74 GB, free: 17.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/0.637, allocations: 13.04 MB / 0.7527 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.6374, allocations: 1.025 MB / 0.7537 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.6378, allocations: 93.58 kB / 0.7538 GB, free: 2.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.6382, allocations: 363.3 kB / 0.7541 GB, free: 2.387 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6382, allocations: 0 / 0.7541 GB, free: 2.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/0.7146, allocations: 31.11 MB / 0.7845 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.09, allocations: 12.05 kB / 0.7845 GB, free: 3.473 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent_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_LoadTestFreqDependent.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.36881004300085] Failed to read output from testmodel.py, exit status != 0: 17.224168325999926 17.247779411 17.088080688 Calling exit ...