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.007825/0.007825, allocations: 101.9 kB / 15.73 MB, free: 6.059 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.392/1.392, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.002229/0.002229, allocations: 196.3 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5219/0.5219, allocations: 91.91 MB / 431.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 81.34 kB / 0.5723 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1569, allocations: 71.29 MB / 0.6419 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.007587/0.1646, allocations: 5.3 MB / 0.6471 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.1688, allocations: 1.634 MB / 0.6486 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.17, allocations: 8 kB / 0.6487 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.1709, allocations: 182.4 kB / 0.6488 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.1736, allocations: 0.6746 MB / 0.6495 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1749, allocations: 0.4883 MB / 0.65 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1766, allocations: 1.078 MB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.1772, allocations: 270.7 kB / 0.6513 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.178, allocations: 462 kB / 0.6517 GB, free: 9.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.179, allocations: 0.6067 MB / 0.6523 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.1794, allocations: 80 kB / 0.6524 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006889/0.1801, allocations: 223.8 kB / 0.6526 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.1804, allocations: 231 kB / 0.6528 GB, free: 8.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006823/0.1811, allocations: 0.5009 MB / 0.6533 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.1829, allocations: 1.268 MB / 0.6545 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1829, allocations: 0 / 0.6545 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1829, allocations: 0 / 0.6545 GB, free: 7.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.572e-05/0.183, allocations: 0 / 0.6545 GB, free: 7.023 MB / 462.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.007499/0.1905, allocations: 2.184 MB / 0.6567 GB, free: 4.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.1905, allocations: 12.02 kB / 0.6567 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.1907, allocations: 102.7 kB / 0.6568 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004179/0.1949, allocations: 0.6552 MB / 0.6574 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.1959, allocations: 0.6628 MB / 0.6581 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.1961, allocations: 180.1 kB / 0.6582 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.1962, allocations: 67.98 kB / 0.6583 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.1981, allocations: 0.8653 MB / 0.6592 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1981, allocations: 0 / 0.6592 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.1982, allocations: 27.94 kB / 0.6592 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.1983, allocations: 19.94 kB / 0.6592 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.2003, allocations: 0.9069 MB / 0.6601 GB, free: 1.211 MB / 462.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.004616/0.2049, allocations: 2.448 MB / 0.6625 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.2066, allocations: 1.077 MB / 0.6635 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.2079, allocations: 0.6474 MB / 0.6642 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.208, allocations: 12.64 kB / 0.6642 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2081, allocations: 39.22 kB / 0.6642 GB, free: 12.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.735e-06/0.2081, allocations: 0 / 0.6642 GB, free: 12.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.023/0.2311, allocations: 5.675 MB / 0.6698 GB, free: 7.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2312, allocations: 60.06 kB / 0.6698 GB, free: 7.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2322, allocations: 0.7552 MB / 0.6705 GB, free: 6.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.2324, allocations: 41.7 kB / 0.6706 GB, free: 6.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.2327, allocations: 397.2 kB / 0.671 GB, free: 5.793 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.233, allocations: 313.3 kB / 0.6713 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.2334, allocations: 182.9 kB / 0.6714 GB, free: 5.301 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2335, allocations: 349.9 kB / 0.6718 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.2349, allocations: 0.6116 MB / 0.6724 GB, free: 4.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.2364, allocations: 0.7193 MB / 0.6731 GB, free: 3.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.2393, allocations: 1.335 MB / 0.6744 GB, free: 2.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2393, allocations: 0 / 0.6744 GB, free: 2.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01208/0.2514, allocations: 3.603 MB / 0.6779 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.2515, allocations: 8 kB / 0.6779 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2515, allocations: 0 / 0.6779 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005824/0.2573, allocations: 1.515 MB / 0.6794 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/0.2583, allocations: 171.8 kB / 0.6795 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/0.2779, allocations: 8.203 MB / 0.6876 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.2793, allocations: 143.5 kB / 0.6877 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.2795, allocations: 39.98 kB / 0.6877 GB, free: 4.395 MB / 494.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.0004905/0.28, allocations: 213.7 kB / 0.6879 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.2803, allocations: 107.3 kB / 0.688 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.2918, allocations: 3.383 MB / 0.6913 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.2919, allocations: 8 kB / 0.6913 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2919, allocations: 0 / 0.6913 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.2919, allocations: 7.922 kB / 0.6914 GB, free: 0.6562 MB / 494.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.01398/0.3059, allocations: 4.843 MB / 0.6961 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.3059, allocations: 3.938 kB / 0.6961 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.3066, allocations: 91.88 kB / 0.6962 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005959/0.3125, allocations: 1.519 MB / 0.6977 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.3127, allocations: 19.94 kB / 0.6977 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.3301, allocations: 7.284 MB / 0.7048 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3302, allocations: 4 kB / 0.7048 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/0.3438, allocations: 4.194 MB / 0.7089 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.3442, allocations: 184.3 kB / 0.7091 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.3445, allocations: 12 kB / 0.7091 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.3457, allocations: 87.89 kB / 0.7092 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006382/0.3463, allocations: 168.8 kB / 0.7093 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.3465, allocations: 27.98 kB / 0.7094 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008466/0.3473, allocations: 0.5068 MB / 0.7098 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3474, allocations: 0 / 0.7098 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001591/0.349, allocations: 379.7 kB / 0.7102 GB, free: 13.04 MB / 0.5137 GB 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.01393/0.3629, allocations: 4.771 MB / 0.7149 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006024/0.369, allocations: 2.105 MB / 0.7169 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.369, allocations: 4 kB / 0.7169 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00407/0.3731, allocations: 1.337 MB / 0.7182 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.3741, allocations: 72.72 kB / 0.7183 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03404/0.4081, allocations: 13.07 MB / 0.7311 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.4089, allocations: 1.021 MB / 0.7321 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.4094, allocations: 89.53 kB / 0.7321 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.41, allocations: 355.3 kB / 0.7325 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.41, allocations: 0 / 0.7325 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06682/0.4768, allocations: 29.87 MB / 0.7617 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.29, allocations: 11.86 kB / 0.7617 GB, free: 8.246 MB / 0.5606 GB (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)