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.08832/0.08832, allocations: 12.59 MB / 28.22 MB, free: 0.7266 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.001127/0.001127, allocations: 107.4 kB / 31.83 MB, free: 3.867 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.285/1.285, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001307/0.001307, allocations: 191.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.4224/0.4224, allocations: 78.52 MB / 419.3 MB, free: 11.23 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.002575/0.002575, allocations: 130.8 kB / 0.5554 GB, free: 28.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1172, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.005636/0.1229, allocations: 5.339 MB / 0.6271 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.1256, allocations: 1.599 MB / 0.6287 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.1259, allocations: 8 kB / 0.6287 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.1263, allocations: 182.4 kB / 0.6289 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.1277, allocations: 0.6681 MB / 0.6295 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.1287, allocations: 0.4907 MB / 0.63 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009695/0.1297, allocations: 1.078 MB / 0.6311 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.13, allocations: 270.7 kB / 0.6313 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.1306, allocations: 466 kB / 0.6318 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.1312, allocations: 0.6068 MB / 0.6324 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.1313, allocations: 84 kB / 0.6324 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1317, allocations: 215.9 kB / 0.6326 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.1319, allocations: 239 kB / 0.6329 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.1323, allocations: 0.5009 MB / 0.6334 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1335, allocations: 1.256 MB / 0.6346 GB, free: 2.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1336, allocations: 0 / 0.6346 GB, free: 2.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1336, allocations: 0 / 0.6346 GB, free: 2.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.1336, allocations: 0 / 0.6346 GB, free: 2.875 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.006743/0.1403, allocations: 2.188 MB / 0.6367 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1404, allocations: 19.97 kB / 0.6367 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.1405, allocations: 102.7 kB / 0.6368 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.1447, allocations: 0.6513 MB / 0.6375 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.1456, allocations: 0.6589 MB / 0.6381 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.1458, allocations: 184 kB / 0.6383 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.146, allocations: 60 kB / 0.6384 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.1478, allocations: 0.8692 MB / 0.6392 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1478, allocations: 4 kB / 0.6392 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.1479, allocations: 31.88 kB / 0.6392 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1479, allocations: 19.98 kB / 0.6393 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.1499, allocations: 0.903 MB / 0.6401 GB, free: 13.05 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.0041/0.154, allocations: 2.448 MB / 0.6425 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.1557, allocations: 1.075 MB / 0.6436 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.157, allocations: 0.6526 MB / 0.6442 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.1571, allocations: 8.656 kB / 0.6442 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1571, allocations: 47.22 kB / 0.6443 GB, free: 8.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.194e-06/0.1571, allocations: 0 / 0.6443 GB, free: 8.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02293/0.1801, allocations: 5.671 MB / 0.6498 GB, free: 2.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1801, allocations: 64.06 kB / 0.6499 GB, free: 2.844 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.181, allocations: 0.7552 MB / 0.6506 GB, free: 2.082 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.1811, allocations: 41.7 kB / 0.6506 GB, free: 2.035 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1814, allocations: 405.2 kB / 0.651 GB, free: 1.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.1817, allocations: 301.4 kB / 0.6513 GB, free: 1.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.182, allocations: 178.9 kB / 0.6515 GB, free: 1.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1821, allocations: 345.9 kB / 0.6518 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.1835, allocations: 0.6155 MB / 0.6524 GB, free: 200 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.185, allocations: 0.7232 MB / 0.6531 GB, free: 15.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/0.1878, allocations: 1.339 MB / 0.6544 GB, free: 14.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1878, allocations: 0 / 0.6544 GB, free: 14.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0118/0.1996, allocations: 3.607 MB / 0.658 GB, free: 10.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1997, allocations: 4 kB / 0.658 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1997, allocations: 4 kB / 0.658 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005685/0.2054, allocations: 1.511 MB / 0.6594 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.2063, allocations: 175.8 kB / 0.6596 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.225, allocations: 8.187 MB / 0.6676 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.2263, allocations: 147.5 kB / 0.6677 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.2264, allocations: 35.98 kB / 0.6678 GB, free: 256 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.0003904/0.2268, allocations: 227.2 kB / 0.668 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.227, allocations: 107.5 kB / 0.6681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.2384, allocations: 3.371 MB / 0.6714 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2385, allocations: 8 kB / 0.6714 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2385, allocations: 3.938 kB / 0.6714 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2385, allocations: 11.98 kB / 0.6714 GB, free: 12.5 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.01326/0.2518, allocations: 4.835 MB / 0.6761 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.2518, allocations: 3.938 kB / 0.6761 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.2524, allocations: 91.88 kB / 0.6762 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006102/0.2585, allocations: 1.531 MB / 0.6777 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.2586, allocations: 12 kB / 0.6777 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.2752, allocations: 7.281 MB / 0.6848 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2752, allocations: 4 kB / 0.6848 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.2884, allocations: 4.194 MB / 0.6889 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.2887, allocations: 188.3 kB / 0.6891 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.2888, allocations: 16 kB / 0.6891 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.2897, allocations: 83.98 kB / 0.6892 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/0.2902, allocations: 168.8 kB / 0.6894 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.2903, allocations: 27.98 kB / 0.6894 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005986/0.2909, allocations: 0.5068 MB / 0.6899 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2909, allocations: 4 kB / 0.6899 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001038/0.292, allocations: 371.7 kB / 0.6903 GB, free: 8.898 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.01328/0.3052, allocations: 4.773 MB / 0.6949 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005661/0.3109, allocations: 2.109 MB / 0.697 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.311, allocations: 0 / 0.697 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.3151, allocations: 1.345 MB / 0.6983 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/0.316, allocations: 67.31 kB / 0.6984 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/0.3487, allocations: 13.07 MB / 0.7111 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.3493, allocations: 1.021 MB / 0.7121 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003859/0.3497, allocations: 89.53 kB / 0.7122 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.3501, allocations: 355.3 kB / 0.7125 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.3501, allocations: 4 kB / 0.7125 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3407/0.6908, allocations: 29.87 MB / 0.7417 GB, free: 77.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.49, allocations: 7.5 kB / 0.7417 GB, free: 77.05 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)