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.005367/0.005367, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.319/1.319, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001446/0.001446, allocations: 188.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4443/0.4443, allocations: 78.52 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 79.88 kB / 0.5532 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3197, allocations: 68.16 MB / 0.6197 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.005148/0.3249, allocations: 5.286 MB / 0.6249 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3278, allocations: 1.618 MB / 0.6265 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.3286, allocations: 8 kB / 0.6265 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.3293, allocations: 186.4 kB / 0.6267 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3312, allocations: 0.6898 MB / 0.6273 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000968/0.3321, allocations: 0.4916 MB / 0.6278 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009872/0.3331, allocations: 1.074 MB / 0.6289 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.3334, allocations: 262.5 kB / 0.6291 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.3339, allocations: 466 kB / 0.6296 GB, free: 80 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.3346, allocations: 0.6146 MB / 0.6302 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.3347, allocations: 80 kB / 0.6302 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.3352, allocations: 211.8 kB / 0.6304 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.3354, allocations: 239 kB / 0.6307 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.3358, allocations: 0.5009 MB / 0.6311 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3372, allocations: 1.257 MB / 0.6324 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3372, allocations: 0 / 0.6324 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3372, allocations: 3.938 kB / 0.6324 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3372, allocations: 0 / 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.006852/0.3441, allocations: 2.192 MB / 0.6345 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3441, allocations: 12.02 kB / 0.6345 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.3443, allocations: 110.6 kB / 0.6346 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.3484, allocations: 0.6513 MB / 0.6353 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3494, allocations: 0.659 MB / 0.6359 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.3496, allocations: 176 kB / 0.6361 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.3498, allocations: 68 kB / 0.6362 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.3517, allocations: 0.8653 MB / 0.637 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3517, allocations: 0 / 0.637 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.3518, allocations: 28 kB / 0.637 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3518, allocations: 19.94 kB / 0.637 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.3538, allocations: 0.903 MB / 0.6379 GB, free: 7.355 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.004459/0.3583, allocations: 2.444 MB / 0.6403 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.36, allocations: 1.082 MB / 0.6414 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.3613, allocations: 0.6474 MB / 0.642 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.509e-05/0.3614, allocations: 12.66 kB / 0.642 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3614, allocations: 47.16 kB / 0.6421 GB, free: 2.922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.585e-06/0.3614, allocations: 0 / 0.6421 GB, free: 2.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02276/0.3842, allocations: 5.671 MB / 0.6476 GB, free: 13.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3843, allocations: 64.06 kB / 0.6477 GB, free: 13.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/0.3853, allocations: 0.7552 MB / 0.6484 GB, free: 12.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.3855, allocations: 37.7 kB / 0.6484 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.3858, allocations: 401.2 kB / 0.6488 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.3861, allocations: 305.4 kB / 0.6491 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.3865, allocations: 182.9 kB / 0.6493 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3866, allocations: 345.9 kB / 0.6496 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.388, allocations: 0.6116 MB / 0.6502 GB, free: 10.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.3894, allocations: 0.7271 MB / 0.6509 GB, free: 9.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.3922, allocations: 1.331 MB / 0.6522 GB, free: 8.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3922, allocations: 0 / 0.6522 GB, free: 8.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01181/0.4041, allocations: 3.599 MB / 0.6557 GB, free: 4.777 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4041, allocations: 8 kB / 0.6557 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4041, allocations: 3.984 kB / 0.6557 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005685/0.4098, allocations: 1.515 MB / 0.6572 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.4108, allocations: 179.7 kB / 0.6574 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.4299, allocations: 8.2 MB / 0.6654 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4313, allocations: 147.5 kB / 0.6655 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.4315, allocations: 35.98 kB / 0.6656 GB, free: 10.54 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.000514/0.432, allocations: 221.7 kB / 0.6658 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.4323, allocations: 107.3 kB / 0.6659 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.4436, allocations: 3.364 MB / 0.6692 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.4436, allocations: 8 kB / 0.6692 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4437, allocations: 4 kB / 0.6692 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.4437, allocations: 7.922 kB / 0.6692 GB, free: 6.809 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.01354/0.4572, allocations: 4.839 MB / 0.6739 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.4573, allocations: 0 / 0.6739 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.4579, allocations: 95.88 kB / 0.674 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/0.4638, allocations: 1.515 MB / 0.6755 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.464, allocations: 19.94 kB / 0.6755 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.4812, allocations: 7.292 MB / 0.6826 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.4812, allocations: 8 kB / 0.6826 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.4947, allocations: 4.186 MB / 0.6867 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.4951, allocations: 188.2 kB / 0.6869 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.4954, allocations: 20 kB / 0.6869 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.4964, allocations: 87.89 kB / 0.687 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/0.497, allocations: 168.7 kB / 0.6872 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-05/0.4971, allocations: 23.98 kB / 0.6872 GB, free: 4.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007156/0.4978, allocations: 0.5107 MB / 0.6877 GB, free: 3.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4978, allocations: 0 / 0.6877 GB, free: 3.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001299/0.4991, allocations: 375.7 kB / 0.688 GB, free: 3.195 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.0137/0.5128, allocations: 4.771 MB / 0.6927 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006211/0.5191, allocations: 2.112 MB / 0.6948 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5191, allocations: 0 / 0.6948 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/0.5233, allocations: 1.334 MB / 0.6961 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5244, allocations: 80.8 kB / 0.6961 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.5582, allocations: 13.06 MB / 0.7089 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.5589, allocations: 1.013 MB / 0.7099 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000435/0.5593, allocations: 93.53 kB / 0.71 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.5599, allocations: 359.3 kB / 0.7103 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.5599, allocations: 0 / 0.7103 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06174/0.6216, allocations: 29.87 MB / 0.7395 GB, free: 14.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.07, allocations: 26.03 kB / 0.7395 GB, free: 14.36 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)