Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07694/0.07694, allocations: 12.59 MB / 28.22 MB, free: 0.7617 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 115.4 kB / 31.84 MB, free: 3.891 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4099/0.4099, allocations: 78.51 MB / 419.3 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00365/0.00365, allocations: 135.8 kB / 0.5554 GB, free: 28.65 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1095, allocations: 68.14 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.005992/0.1155, allocations: 5.331 MB / 0.6271 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1183, allocations: 1.595 MB / 0.6287 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1186, allocations: 12 kB / 0.6287 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.119, allocations: 182.4 kB / 0.6289 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1203, allocations: 0.6329 MB / 0.6295 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.1213, allocations: 0.4941 MB / 0.63 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1224, allocations: 1.07 MB / 0.631 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.1228, allocations: 274.7 kB / 0.6313 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.1233, allocations: 466 kB / 0.6317 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.124, allocations: 0.6029 MB / 0.6323 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.1242, allocations: 84 kB / 0.6324 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.1246, allocations: 215.9 kB / 0.6326 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.1248, allocations: 239 kB / 0.6328 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.1252, allocations: 0.5009 MB / 0.6333 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1265, allocations: 1.26 MB / 0.6346 GB, free: 2.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1265, allocations: 0 / 0.6346 GB, free: 2.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1265, allocations: 0 / 0.6346 GB, free: 2.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1266, allocations: 4 kB / 0.6346 GB, free: 2.926 MB / 446.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.006508/0.1331, allocations: 2.18 MB / 0.6367 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1331, allocations: 19.97 kB / 0.6367 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.1333, allocations: 102.7 kB / 0.6368 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/0.1373, allocations: 0.6514 MB / 0.6374 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.1382, allocations: 0.6588 MB / 0.6381 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.1384, allocations: 184 kB / 0.6383 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1385, allocations: 60 kB / 0.6383 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1404, allocations: 0.8731 MB / 0.6392 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1404, allocations: 0 / 0.6392 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.1405, allocations: 24 kB / 0.6392 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.1405, allocations: 23.92 kB / 0.6392 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.1426, allocations: 0.9069 MB / 0.6401 GB, free: 13.11 MB / 462.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.004269/0.1469, allocations: 2.448 MB / 0.6425 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.1488, allocations: 1.076 MB / 0.6435 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.1501, allocations: 0.6527 MB / 0.6442 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.302e-05/0.1502, allocations: 8.656 kB / 0.6442 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1503, allocations: 39.22 kB / 0.6442 GB, free: 8.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.304e-06/0.1503, allocations: 0 / 0.6442 GB, free: 8.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02301/0.1733, allocations: 5.679 MB / 0.6498 GB, free: 2.973 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.1734, allocations: 60.06 kB / 0.6498 GB, free: 2.902 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.1744, allocations: 0.7591 MB / 0.6506 GB, free: 2.137 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.1746, allocations: 37.7 kB / 0.6506 GB, free: 2.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1749, allocations: 401.2 kB / 0.651 GB, free: 1.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.1752, allocations: 305.3 kB / 0.6513 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.1756, allocations: 182.9 kB / 0.6515 GB, free: 1.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1757, allocations: 349.9 kB / 0.6518 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.1771, allocations: 0.6155 MB / 0.6524 GB, free: 252 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.1786, allocations: 0.7193 MB / 0.6531 GB, free: 15.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.1815, allocations: 1.339 MB / 0.6544 GB, free: 14.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1815, allocations: 0 / 0.6544 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01205/0.1935, allocations: 3.607 MB / 0.6579 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1936, allocations: 4 kB / 0.6579 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1936, allocations: 4 kB / 0.6579 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005806/0.1994, allocations: 1.511 MB / 0.6594 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.2003, allocations: 171.8 kB / 0.6596 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.2196, allocations: 8.204 MB / 0.6676 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.2208, allocations: 147.5 kB / 0.6677 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/0.2209, allocations: 31.98 kB / 0.6677 GB, free: 312 kB / 478.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.000408/0.2213, allocations: 227.2 kB / 0.668 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.2215, allocations: 103.5 kB / 0.6681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.2332, allocations: 3.375 MB / 0.6714 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.2332, allocations: 12 kB / 0.6714 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2332, allocations: 7.938 kB / 0.6714 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2332, allocations: 3.984 kB / 0.6714 GB, free: 12.55 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.01386/0.2471, allocations: 4.831 MB / 0.6761 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.2472, allocations: 4 kB / 0.6761 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.2477, allocations: 95.88 kB / 0.6762 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00589/0.2536, allocations: 1.527 MB / 0.6777 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.2537, allocations: 16 kB / 0.6777 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.2711, allocations: 7.281 MB / 0.6848 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2711, allocations: 0 / 0.6848 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.2846, allocations: 4.198 MB / 0.6889 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.2849, allocations: 192.4 kB / 0.6891 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.285, allocations: 12 kB / 0.6891 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/0.2859, allocations: 87.88 kB / 0.6892 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/0.2864, allocations: 168.8 kB / 0.6894 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.2865, allocations: 23.98 kB / 0.6894 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006519/0.2872, allocations: 0.5068 MB / 0.6899 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2872, allocations: 0 / 0.6899 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001042/0.2882, allocations: 375.7 kB / 0.6902 GB, free: 8.949 MB / 0.4981 GB 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.01378/0.302, allocations: 4.769 MB / 0.6949 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005889/0.308, allocations: 2.101 MB / 0.6969 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.308, allocations: 0 / 0.6969 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004342/0.3123, allocations: 1.349 MB / 0.6983 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.3135, allocations: 71.31 kB / 0.6983 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/0.3471, allocations: 13.06 MB / 0.7111 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.3479, allocations: 1.021 MB / 0.7121 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003724/0.3482, allocations: 93.53 kB / 0.7122 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.3487, allocations: 355.3 kB / 0.7125 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.3487, allocations: 0 / 0.7125 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/0.6229, allocations: 29.87 MB / 0.7417 GB, free: 77.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.67, allocations: 4.938 kB / 0.7417 GB, free: 77.03 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)