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.001556/0.001557, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 239.3 MB, free: 4.645 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.001336/0.001337, allocations: 188.5 kB / 289.6 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5148/0.5148, allocations: 91.91 MB / 431.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 79.88 kB / 0.502 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2923, allocations: 71.26 MB / 0.5716 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.004762/0.2972, allocations: 5.312 MB / 0.5768 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.2998, allocations: 1.633 MB / 0.5784 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.3002, allocations: 5.938 kB / 0.5784 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.3007, allocations: 190.9 kB / 0.5785 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3021, allocations: 0.6339 MB / 0.5792 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.303, allocations: 0.4886 MB / 0.5796 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.3039, allocations: 1.07 MB / 0.5807 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.3043, allocations: 266.1 kB / 0.5809 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.3048, allocations: 463 kB / 0.5814 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.3055, allocations: 0.6055 MB / 0.582 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.3056, allocations: 82.28 kB / 0.5821 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.306, allocations: 222.9 kB / 0.5823 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3062, allocations: 240.9 kB / 0.5825 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.3065, allocations: 0.5013 MB / 0.583 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009271/0.3074, allocations: 1.229 MB / 0.5842 GB, free: 29.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3075, allocations: 0 / 0.5842 GB, free: 29.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3075, allocations: 0 / 0.5842 GB, free: 29.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3075, allocations: 0 / 0.5842 GB, free: 29.54 MB / 430.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.006529/0.314, allocations: 2.153 MB / 0.5863 GB, free: 28.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3141, allocations: 10.28 kB / 0.5863 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.3142, allocations: 107 kB / 0.5864 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.3184, allocations: 0.6491 MB / 0.587 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.3192, allocations: 0.6494 MB / 0.5877 GB, free: 27.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.3194, allocations: 177.7 kB / 0.5878 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3195, allocations: 69 kB / 0.5879 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.3213, allocations: 0.8722 MB / 0.5888 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3213, allocations: 4 kB / 0.5888 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.3214, allocations: 25.12 kB / 0.5888 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3214, allocations: 19.38 kB / 0.5888 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.3233, allocations: 0.9063 MB / 0.5897 GB, free: 27.03 MB / 430.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.003833/0.3272, allocations: 2.464 MB / 0.5921 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.3288, allocations: 1.071 MB / 0.5931 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.33, allocations: 0.6466 MB / 0.5938 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.668e-05/0.3301, allocations: 13.84 kB / 0.5938 GB, free: 24.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3301, allocations: 38.62 kB / 0.5938 GB, free: 24.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.715e-06/0.3301, allocations: 0 / 0.5938 GB, free: 24.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02405/0.3542, allocations: 5.679 MB / 0.5994 GB, free: 23.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3543, allocations: 61.84 kB / 0.5994 GB, free: 23.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3553, allocations: 0.7514 MB / 0.6002 GB, free: 23.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.3555, allocations: 40.89 kB / 0.6002 GB, free: 23.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.3557, allocations: 398.5 kB / 0.6006 GB, free: 22.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.356, allocations: 293 kB / 0.6009 GB, free: 22.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.3564, allocations: 180.3 kB / 0.601 GB, free: 22.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.3564, allocations: 349.9 kB / 0.6014 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3578, allocations: 0.6148 MB / 0.602 GB, free: 22.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.3593, allocations: 0.7234 MB / 0.6027 GB, free: 21.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.3622, allocations: 1.33 MB / 0.604 GB, free: 21.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3622, allocations: 0 / 0.604 GB, free: 21.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01239/0.3746, allocations: 3.604 MB / 0.6075 GB, free: 20.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3746, allocations: 5.25 kB / 0.6075 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3747, allocations: 3.219 kB / 0.6075 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005945/0.3806, allocations: 1.509 MB / 0.609 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009566/0.3816, allocations: 175 kB / 0.6091 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.4, allocations: 8.201 MB / 0.6171 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4013, allocations: 140.2 kB / 0.6173 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.4014, allocations: 39.95 kB / 0.6173 GB, free: 15.24 MB / 430.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.000381/0.4018, allocations: 224.7 kB / 0.6175 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.402, allocations: 102.1 kB / 0.6176 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.4127, allocations: 3.375 MB / 0.6209 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4127, allocations: 8 kB / 0.6209 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4127, allocations: 0 / 0.6209 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4128, allocations: 11.92 kB / 0.6209 GB, free: 11.54 MB / 430.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.01235/0.4251, allocations: 4.841 MB / 0.6257 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4252, allocations: 4 kB / 0.6257 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.4257, allocations: 95.88 kB / 0.6258 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005544/0.4312, allocations: 1.527 MB / 0.6273 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.4314, allocations: 19.94 kB / 0.6273 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/0.4474, allocations: 7.276 MB / 0.6344 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4474, allocations: 0 / 0.6344 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.4609, allocations: 4.196 MB / 0.6385 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.4613, allocations: 175.9 kB / 0.6386 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4614, allocations: 19.98 kB / 0.6387 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009112/0.4624, allocations: 87.91 kB / 0.6387 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.4629, allocations: 168.8 kB / 0.6389 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.463, allocations: 20 kB / 0.6389 GB, free: 8.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006077/0.4636, allocations: 0.5146 MB / 0.6394 GB, free: 8.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4636, allocations: 0 / 0.6394 GB, free: 8.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4647, allocations: 379.5 kB / 0.6398 GB, free: 7.922 MB / 446.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.01377/0.4785, allocations: 4.762 MB / 0.6444 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00636/0.4849, allocations: 2.14 MB / 0.6465 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4849, allocations: 4.062 kB / 0.6465 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004091/0.489, allocations: 1.326 MB / 0.6478 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.4899, allocations: 83.25 kB / 0.6479 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03508/0.525, allocations: 13.42 MB / 0.661 GB, free: 1.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.5257, allocations: 1.021 MB / 0.662 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.5261, allocations: 93.53 kB / 0.6621 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.5266, allocations: 359.3 kB / 0.6624 GB, free: 348 kB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5266, allocations: 0 / 0.6624 GB, free: 348 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05708/0.5837, allocations: 29.51 MB / 0.6913 GB, free: 3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.07, allocations: 15.05 kB / 0.6913 GB, free: 2.988 MB / 494.1 MB (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)