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.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.0.1/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007441/0.007442, allocations: 102 kB / 15.73 MB, free: 6.02 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.325/1.325, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001248/0.001248, allocations: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4351/0.4351, allocations: 78.53 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 76.09 kB / 0.5532 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2868, allocations: 68.16 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.004442/0.2913, allocations: 5.29 MB / 0.6249 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.2937, allocations: 1.622 MB / 0.6265 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.2941, allocations: 11.94 kB / 0.6265 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.2945, allocations: 182.4 kB / 0.6267 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.2957, allocations: 0.6806 MB / 0.6273 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.2965, allocations: 0.4888 MB / 0.6278 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.2973, allocations: 1.074 MB / 0.6288 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.2976, allocations: 270.4 kB / 0.6291 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.2979, allocations: 466 kB / 0.6295 GB, free: 92 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.2986, allocations: 0.6068 MB / 0.6301 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.2987, allocations: 84 kB / 0.6302 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.2991, allocations: 219.7 kB / 0.6304 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.2993, allocations: 235 kB / 0.6307 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.2997, allocations: 0.5009 MB / 0.6311 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.3009, allocations: 1.253 MB / 0.6324 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3009, allocations: 7.938 kB / 0.6324 GB, free: 13.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3009, allocations: 0 / 0.6324 GB, free: 13.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.301, allocations: 3.984 kB / 0.6324 GB, free: 13.18 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.006586/0.3076, allocations: 2.19 MB / 0.6345 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3076, allocations: 8.031 kB / 0.6345 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.3077, allocations: 110.6 kB / 0.6346 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/0.3118, allocations: 0.6513 MB / 0.6353 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.3128, allocations: 0.6551 MB / 0.6359 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.3129, allocations: 176.1 kB / 0.6361 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3131, allocations: 64 kB / 0.6361 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3149, allocations: 0.8653 MB / 0.637 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3149, allocations: 3.984 kB / 0.637 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.315, allocations: 24 kB / 0.637 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.315, allocations: 19.94 kB / 0.637 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.317, allocations: 0.9186 MB / 0.6379 GB, free: 7.363 MB / 446.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.00407/0.3211, allocations: 2.444 MB / 0.6403 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3228, allocations: 1.076 MB / 0.6414 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.3241, allocations: 0.6474 MB / 0.642 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.825e-05/0.3242, allocations: 8.656 kB / 0.642 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3242, allocations: 47.22 kB / 0.642 GB, free: 2.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.435e-06/0.3242, allocations: 0 / 0.642 GB, free: 2.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02289/0.3471, allocations: 5.679 MB / 0.6476 GB, free: 13.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3472, allocations: 60.06 kB / 0.6476 GB, free: 13.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008775/0.3481, allocations: 0.7513 MB / 0.6484 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3482, allocations: 45.7 kB / 0.6484 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.3485, allocations: 397.2 kB / 0.6488 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.3487, allocations: 305.4 kB / 0.6491 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.3491, allocations: 182.9 kB / 0.6493 GB, free: 11.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3492, allocations: 345.9 kB / 0.6496 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.3506, allocations: 0.6116 MB / 0.6502 GB, free: 10.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.3521, allocations: 0.7271 MB / 0.6509 GB, free: 9.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.355, allocations: 1.331 MB / 0.6522 GB, free: 8.402 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.355, allocations: 0 / 0.6522 GB, free: 8.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01212/0.3671, allocations: 3.607 MB / 0.6557 GB, free: 4.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3672, allocations: 10.5 kB / 0.6557 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3672, allocations: 0 / 0.6557 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/0.3731, allocations: 1.511 MB / 0.6572 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.374, allocations: 171.8 kB / 0.6574 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.3931, allocations: 8.206 MB / 0.6654 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.3944, allocations: 143.5 kB / 0.6655 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.3945, allocations: 35.98 kB / 0.6656 GB, free: 10.56 MB / 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.0004861/0.395, allocations: 228.6 kB / 0.6658 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.3953, allocations: 107.3 kB / 0.6659 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.407, allocations: 3.368 MB / 0.6692 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.407, allocations: 8 kB / 0.6692 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.407, allocations: 0 / 0.6692 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.4071, allocations: 7.922 kB / 0.6692 GB, free: 6.824 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 postOpt removeSimpleEquations (simulation): time 0.01383/0.4209, allocations: 4.843 MB / 0.6739 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4209, allocations: 0 / 0.6739 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.4215, allocations: 95.81 kB / 0.674 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006086/0.4276, allocations: 1.515 MB / 0.6755 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.4278, allocations: 23.92 kB / 0.6755 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.4467, allocations: 7.282 MB / 0.6826 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4468, allocations: 0 / 0.6826 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/0.4609, allocations: 4.21 MB / 0.6867 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.4613, allocations: 184.3 kB / 0.6869 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.4617, allocations: 12 kB / 0.6869 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.4629, allocations: 91.84 kB / 0.687 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000722/0.4636, allocations: 168.8 kB / 0.6872 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.4638, allocations: 20 kB / 0.6872 GB, free: 4.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008263/0.4646, allocations: 0.5107 MB / 0.6877 GB, free: 3.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4646, allocations: 0 / 0.6877 GB, free: 3.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001418/0.466, allocations: 375.7 kB / 0.688 GB, free: 3.211 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.0143/0.4803, allocations: 4.771 MB / 0.6927 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006186/0.4866, allocations: 2.112 MB / 0.6948 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4866, allocations: 0 / 0.6948 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/0.4907, allocations: 1.329 MB / 0.6961 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.4916, allocations: 87.23 kB / 0.6962 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04453/0.5361, allocations: 13.06 MB / 0.7089 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.5372, allocations: 1.017 MB / 0.7099 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006945/0.5379, allocations: 93.53 kB / 0.71 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008471/0.5388, allocations: 359.3 kB / 0.7103 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.5388, allocations: 0 / 0.7103 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.639, allocations: 29.85 MB / 0.7395 GB, free: 14.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.5, allocations: 26.3 kB / 0.7395 GB, free: 14.38 MB / 0.545 GB (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)