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.01039/0.01039, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.431/1.431, 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.001798/0.001797, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4773/0.4773, allocations: 78.54 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 84.36 kB / 0.5532 GB, free: 1.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3092, allocations: 68.17 MB / 0.6197 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.004506/0.3137, allocations: 5.291 MB / 0.6249 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.3161, allocations: 1.622 MB / 0.6265 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.3165, allocations: 8 kB / 0.6265 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.3168, allocations: 186.4 kB / 0.6267 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.318, allocations: 0.6377 MB / 0.6273 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.3188, allocations: 0.4888 MB / 0.6278 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007401/0.3196, allocations: 1.086 MB / 0.6288 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3199, allocations: 262.5 kB / 0.6291 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.3203, allocations: 458 kB / 0.6295 GB, free: 252 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.3211, allocations: 0.6106 MB / 0.6301 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.3212, allocations: 84 kB / 0.6302 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.3217, allocations: 211.9 kB / 0.6304 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.322, allocations: 239 kB / 0.6306 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.3225, allocations: 0.5009 MB / 0.6311 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.324, allocations: 1.261 MB / 0.6323 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3241, allocations: 0 / 0.6323 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3241, allocations: 4 kB / 0.6323 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3241, allocations: 0 / 0.6323 GB, free: 13.34 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.006801/0.3309, allocations: 2.188 MB / 0.6345 GB, free: 11.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.331, allocations: 12.03 kB / 0.6345 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.3311, allocations: 102.7 kB / 0.6346 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.3353, allocations: 0.6552 MB / 0.6352 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3364, allocations: 0.659 MB / 0.6359 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.3366, allocations: 176.1 kB / 0.636 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.3368, allocations: 68 kB / 0.6361 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3388, allocations: 0.8692 MB / 0.637 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3389, allocations: 0 / 0.637 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.3389, allocations: 27.94 kB / 0.637 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.339, allocations: 19.94 kB / 0.637 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.3411, allocations: 0.8991 MB / 0.6379 GB, free: 7.527 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.004529/0.3457, allocations: 2.455 MB / 0.6403 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.3476, allocations: 1.073 MB / 0.6413 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.349, allocations: 0.6513 MB / 0.642 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.3491, allocations: 12.64 kB / 0.642 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3492, allocations: 43.22 kB / 0.642 GB, free: 3.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.124e-06/0.3492, allocations: 0 / 0.642 GB, free: 3.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02451/0.3737, allocations: 5.679 MB / 0.6476 GB, free: 13.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3738, allocations: 64.06 kB / 0.6476 GB, free: 13.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3749, allocations: 0.7513 MB / 0.6484 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.3751, allocations: 33.7 kB / 0.6484 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.3755, allocations: 405.2 kB / 0.6488 GB, free: 12.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.3758, allocations: 301.4 kB / 0.6491 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.3762, allocations: 178.9 kB / 0.6492 GB, free: 11.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3764, allocations: 357.9 kB / 0.6496 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.3779, allocations: 0.6077 MB / 0.6502 GB, free: 10.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.3794, allocations: 0.7232 MB / 0.6509 GB, free: 9.914 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.3825, allocations: 1.335 MB / 0.6522 GB, free: 8.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3826, allocations: 0 / 0.6522 GB, free: 8.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01289/0.3955, allocations: 3.599 MB / 0.6557 GB, free: 4.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.3955, allocations: 7.984 kB / 0.6557 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3956, allocations: 4 kB / 0.6557 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/0.4018, allocations: 1.515 MB / 0.6572 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.403, allocations: 171.8 kB / 0.6573 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.4236, allocations: 8.208 MB / 0.6654 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4249, allocations: 147.5 kB / 0.6655 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.4251, allocations: 35.98 kB / 0.6655 GB, free: 10.71 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.0005042/0.4257, allocations: 225.7 kB / 0.6658 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.4259, allocations: 99.34 kB / 0.6658 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.4382, allocations: 3.376 MB / 0.6691 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4383, allocations: 8 kB / 0.6692 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4383, allocations: 3.938 kB / 0.6692 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.4383, allocations: 3.984 kB / 0.6692 GB, free: 6.973 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.01481/0.4531, allocations: 4.843 MB / 0.6739 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.4532, allocations: 0 / 0.6739 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.4538, allocations: 95.88 kB / 0.674 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006463/0.4602, allocations: 1.519 MB / 0.6755 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.4605, allocations: 15.98 kB / 0.6755 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.4789, allocations: 7.285 MB / 0.6826 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.479, allocations: 0 / 0.6826 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/0.4933, allocations: 4.194 MB / 0.6867 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.4936, allocations: 184.3 kB / 0.6869 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.4938, allocations: 19.98 kB / 0.6869 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.4947, allocations: 79.91 kB / 0.687 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005796/0.4953, allocations: 172.8 kB / 0.6871 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.4954, allocations: 19.98 kB / 0.6871 GB, free: 4.246 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006667/0.4961, allocations: 0.5068 MB / 0.6876 GB, free: 3.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4961, allocations: 4 kB / 0.6876 GB, free: 3.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001086/0.4972, allocations: 375.7 kB / 0.688 GB, free: 3.375 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.0145/0.5117, allocations: 4.778 MB / 0.6927 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006249/0.518, allocations: 2.112 MB / 0.6947 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.518, allocations: 0 / 0.6947 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004378/0.5224, allocations: 1.345 MB / 0.696 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.5233, allocations: 76.64 kB / 0.6961 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/0.559, allocations: 13.06 MB / 0.7089 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.5597, allocations: 1.017 MB / 0.7099 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000391/0.5601, allocations: 85.55 kB / 0.7099 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.5606, allocations: 355.3 kB / 0.7103 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.5607, allocations: 0 / 0.7103 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0693/0.63, allocations: 29.87 MB / 0.7395 GB, free: 14.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/15.81, allocations: 21.95 kB / 0.7395 GB, free: 14.53 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)