Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07957/0.07957, allocations: 12.6 MB / 28.1 MB, free: 268 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 107.5 kB / 31.7 MB, free: 3.516 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 188.5 kB / 290.6 MB, free: 13.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4197/0.4197, allocations: 78.51 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003011/0.003011, allocations: 136.9 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2624, allocations: 68.12 MB / 0.5547 GB, free: 32.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.006043/0.2684, allocations: 5.323 MB / 0.5599 GB, free: 28.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.2716, allocations: 1.593 MB / 0.5614 GB, free: 27.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.2723, allocations: 8.844 kB / 0.5614 GB, free: 27.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.2727, allocations: 190.3 kB / 0.5616 GB, free: 27.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.2743, allocations: 0.6254 MB / 0.5622 GB, free: 27.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.2754, allocations: 0.5073 MB / 0.5627 GB, free: 26.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.2765, allocations: 1.068 MB / 0.5638 GB, free: 26.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.2769, allocations: 269 kB / 0.564 GB, free: 25.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.2774, allocations: 462.5 kB / 0.5645 GB, free: 25.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.278, allocations: 0.6059 MB / 0.5651 GB, free: 25.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2781, allocations: 82.5 kB / 0.5651 GB, free: 25.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.2786, allocations: 221.2 kB / 0.5654 GB, free: 25.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.2788, allocations: 243.5 kB / 0.5656 GB, free: 24.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.2791, allocations: 0.498 MB / 0.5661 GB, free: 24.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.2801, allocations: 1.233 MB / 0.5673 GB, free: 23.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2801, allocations: 0 / 0.5673 GB, free: 23.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2801, allocations: 0 / 0.5673 GB, free: 23.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2801, allocations: 1.375 kB / 0.5673 GB, free: 23.62 MB / 398.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.006818/0.2869, allocations: 2.154 MB / 0.5694 GB, free: 22.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.287, allocations: 13.7 kB / 0.5694 GB, free: 22.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.2872, allocations: 107.4 kB / 0.5695 GB, free: 22.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.2914, allocations: 0.6461 MB / 0.5701 GB, free: 21.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.2922, allocations: 0.6451 MB / 0.5708 GB, free: 21.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.2924, allocations: 178.5 kB / 0.5709 GB, free: 21.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.2925, allocations: 64.81 kB / 0.571 GB, free: 21.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.2943, allocations: 0.8711 MB / 0.5718 GB, free: 20.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2943, allocations: 0 / 0.5718 GB, free: 20.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.2944, allocations: 21.41 kB / 0.5719 GB, free: 20.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2944, allocations: 23.06 kB / 0.5719 GB, free: 20.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.2963, allocations: 0.9085 MB / 0.5728 GB, free: 20.21 MB / 398.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.004292/0.3006, allocations: 2.46 MB / 0.5752 GB, free: 18.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3022, allocations: 1.078 MB / 0.5762 GB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.3033, allocations: 0.6435 MB / 0.5769 GB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.3034, allocations: 16.64 kB / 0.5769 GB, free: 16.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.3035, allocations: 43.22 kB / 0.5769 GB, free: 16.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.866e-06/0.3035, allocations: 3.938 kB / 0.5769 GB, free: 16.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02224/0.3257, allocations: 5.671 MB / 0.5825 GB, free: 10.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3258, allocations: 64.06 kB / 0.5825 GB, free: 10.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.3267, allocations: 0.7474 MB / 0.5832 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.3269, allocations: 41.7 kB / 0.5833 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3271, allocations: 396.7 kB / 0.5837 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3273, allocations: 295.7 kB / 0.5839 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.3276, allocations: 186.8 kB / 0.5841 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.978e-05/0.3277, allocations: 349.9 kB / 0.5845 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3289, allocations: 0.6116 MB / 0.5851 GB, free: 7.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.3302, allocations: 0.7232 MB / 0.5858 GB, free: 7.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.3327, allocations: 1.335 MB / 0.5871 GB, free: 5.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3327, allocations: 0 / 0.5871 GB, free: 5.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01144/0.3442, allocations: 3.602 MB / 0.5906 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3442, allocations: 4 kB / 0.5906 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3443, allocations: 4 kB / 0.5906 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005368/0.3496, allocations: 1.515 MB / 0.5921 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009356/0.3506, allocations: 175.8 kB / 0.5922 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.3698, allocations: 8.191 MB / 0.6002 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3712, allocations: 151 kB / 0.6004 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.3713, allocations: 35.98 kB / 0.6004 GB, free: 8.023 MB / 414.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.0003931/0.3717, allocations: 229.6 kB / 0.6006 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3719, allocations: 90.88 kB / 0.6007 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.3836, allocations: 3.372 MB / 0.604 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3836, allocations: 8 kB / 0.604 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3836, allocations: 0 / 0.604 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.3837, allocations: 11.86 kB / 0.604 GB, free: 4.293 MB / 414.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.01375/0.3974, allocations: 4.841 MB / 0.6088 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.3975, allocations: 0 / 0.6088 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.3981, allocations: 99.81 kB / 0.6089 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/0.4042, allocations: 1.531 MB / 0.6103 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.4044, allocations: 15.94 kB / 0.6104 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.4213, allocations: 7.276 MB / 0.6175 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4214, allocations: 3.938 kB / 0.6175 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.4349, allocations: 4.189 MB / 0.6216 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.4353, allocations: 183.7 kB / 0.6217 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.4354, allocations: 12 kB / 0.6217 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/0.4363, allocations: 91.91 kB / 0.6218 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/0.4369, allocations: 168.8 kB / 0.622 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.437, allocations: 20 kB / 0.622 GB, free: 1.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006238/0.4376, allocations: 0.5107 MB / 0.6225 GB, free: 1.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4376, allocations: 0 / 0.6225 GB, free: 1.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4387, allocations: 375.6 kB / 0.6229 GB, free: 0.6875 MB / 430.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.01407/0.4527, allocations: 4.761 MB / 0.6275 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006251/0.459, allocations: 2.148 MB / 0.6296 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4591, allocations: 0 / 0.6296 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.4631, allocations: 1.337 MB / 0.6309 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.4638, allocations: 81.11 kB / 0.631 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03316/0.497, allocations: 13.43 MB / 0.6441 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.4976, allocations: 1.017 MB / 0.6451 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004015/0.498, allocations: 93.53 kB / 0.6452 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.4984, allocations: 351.3 kB / 0.6455 GB, free: 9.102 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4984, allocations: 4 kB / 0.6455 GB, free: 9.098 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/0.5594, allocations: 29.52 MB / 0.6744 GB, free: 11.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.31, allocations: 11 kB / 0.6744 GB, free: 11.65 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)