Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007801/0.007801, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 239.4 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 196.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5561/0.5561, allocations: 91.98 MB / 431.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 90.22 kB / 0.5724 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1165, allocations: 71.29 MB / 0.642 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.00617/0.1227, allocations: 5.315 MB / 0.6472 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1258, allocations: 1.626 MB / 0.6488 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.1262, allocations: 15.94 kB / 0.6488 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1267, allocations: 178.4 kB / 0.6489 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.1282, allocations: 0.6328 MB / 0.6496 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1293, allocations: 497.8 kB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1304, allocations: 1.074 MB / 0.6511 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.1308, allocations: 266.8 kB / 0.6513 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.1314, allocations: 466 kB / 0.6518 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007044/0.1321, allocations: 0.599 MB / 0.6524 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1322, allocations: 84 kB / 0.6524 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.1327, allocations: 215.9 kB / 0.6527 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1329, allocations: 239 kB / 0.6529 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.1334, allocations: 0.5125 MB / 0.6534 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1348, allocations: 1.252 MB / 0.6546 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1348, allocations: 0 / 0.6546 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1348, allocations: 0 / 0.6546 GB, free: 7.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1348, allocations: 0 / 0.6546 GB, free: 7.02 MB / 462.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.006952/0.1418, allocations: 2.192 MB / 0.6567 GB, free: 4.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1418, allocations: 8.031 kB / 0.6568 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.142, allocations: 106.6 kB / 0.6569 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.1461, allocations: 0.6552 MB / 0.6575 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.1472, allocations: 0.6551 MB / 0.6581 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.1474, allocations: 184.1 kB / 0.6583 GB, free: 3.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.1476, allocations: 60 kB / 0.6584 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.1495, allocations: 0.8808 MB / 0.6592 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1496, allocations: 0 / 0.6592 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.1497, allocations: 20 kB / 0.6592 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1497, allocations: 19.94 kB / 0.6593 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.1518, allocations: 0.9069 MB / 0.6601 GB, free: 1.203 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.004714/0.1565, allocations: 2.455 MB / 0.6625 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.1584, allocations: 1.068 MB / 0.6636 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.1598, allocations: 0.6474 MB / 0.6642 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.1599, allocations: 12.66 kB / 0.6642 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.16, allocations: 39.16 kB / 0.6643 GB, free: 12.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.715e-06/0.16, allocations: 0 / 0.6643 GB, free: 12.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02383/0.1838, allocations: 5.683 MB / 0.6698 GB, free: 7.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1839, allocations: 60.06 kB / 0.6699 GB, free: 6.988 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.185, allocations: 0.7513 MB / 0.6706 GB, free: 6.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.1852, allocations: 41.7 kB / 0.6707 GB, free: 6.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.1855, allocations: 401.2 kB / 0.671 GB, free: 5.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.1858, allocations: 305.3 kB / 0.6713 GB, free: 5.477 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.1862, allocations: 186.9 kB / 0.6715 GB, free: 5.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1864, allocations: 345.9 kB / 0.6718 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.1878, allocations: 0.6116 MB / 0.6724 GB, free: 4.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.1893, allocations: 0.7193 MB / 0.6731 GB, free: 3.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.1923, allocations: 1.343 MB / 0.6744 GB, free: 2.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1923, allocations: 4 kB / 0.6744 GB, free: 2.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01236/0.2047, allocations: 3.595 MB / 0.678 GB, free: 14.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2048, allocations: 7.984 kB / 0.678 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2048, allocations: 4 kB / 0.678 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006016/0.2108, allocations: 1.503 MB / 0.6794 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.2118, allocations: 179.7 kB / 0.6796 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.2319, allocations: 8.196 MB / 0.6876 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.2332, allocations: 151.5 kB / 0.6878 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/0.2333, allocations: 35.98 kB / 0.6878 GB, free: 4.387 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.0004099/0.2337, allocations: 220 kB / 0.688 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.2339, allocations: 103.3 kB / 0.6881 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.2456, allocations: 3.379 MB / 0.6914 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.2456, allocations: 8 kB / 0.6914 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2456, allocations: 3.938 kB / 0.6914 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.2457, allocations: 7.922 kB / 0.6914 GB, free: 0.6484 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.01401/0.2597, allocations: 4.835 MB / 0.6961 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.2597, allocations: 3.984 kB / 0.6961 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.2603, allocations: 95.88 kB / 0.6962 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/0.2663, allocations: 1.523 MB / 0.6977 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.2665, allocations: 19.98 kB / 0.6977 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.2845, allocations: 7.284 MB / 0.7049 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2846, allocations: 0 / 0.7049 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.2986, allocations: 4.198 MB / 0.709 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.299, allocations: 180.3 kB / 0.7091 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.2992, allocations: 19.94 kB / 0.7091 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.3, allocations: 83.89 kB / 0.7092 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000584/0.3006, allocations: 172.8 kB / 0.7094 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.3007, allocations: 23.97 kB / 0.7094 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006784/0.3014, allocations: 0.5107 MB / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3014, allocations: 0 / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001079/0.3025, allocations: 379.7 kB / 0.7103 GB, free: 13.03 MB / 0.5137 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.01405/0.3165, allocations: 4.767 MB / 0.7149 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005978/0.3226, allocations: 2.112 MB / 0.717 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3226, allocations: 0 / 0.717 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004166/0.3268, allocations: 1.333 MB / 0.7183 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.3275, allocations: 82.36 kB / 0.7184 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/0.3617, allocations: 13.06 MB / 0.7311 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.3625, allocations: 1.017 MB / 0.7321 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004207/0.363, allocations: 93.53 kB / 0.7322 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.3635, allocations: 355.3 kB / 0.7326 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.3635, allocations: 0 / 0.7326 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06776/0.4313, allocations: 29.87 MB / 0.7617 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.42, allocations: 5.578 kB / 0.7617 GB, free: 8.238 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)