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.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 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.354/1.354, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001487/0.001487, allocations: 196.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4451/0.4451, allocations: 78.53 MB / 418.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 80.11 kB / 497.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 68.18 MB / 0.5525 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.2223/0.357, allocations: 5.287 MB / 0.5576 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.3597, allocations: 1.627 MB / 0.5592 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.3601, allocations: 9.906 kB / 0.5592 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.3606, allocations: 177.4 kB / 0.5594 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3621, allocations: 0.6354 MB / 0.56 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009978/0.3631, allocations: 498.8 kB / 0.5605 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009616/0.364, allocations: 1.068 MB / 0.5615 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.3644, allocations: 263.3 kB / 0.5618 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.365, allocations: 471.9 kB / 0.5622 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.3655, allocations: 0.5997 MB / 0.5628 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3657, allocations: 83.03 kB / 0.5629 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.366, allocations: 223.6 kB / 0.5631 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3662, allocations: 234.3 kB / 0.5634 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.3665, allocations: 0.5059 MB / 0.5638 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.3675, allocations: 1.234 MB / 0.5651 GB, free: 35.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3675, allocations: 0 / 0.5651 GB, free: 35.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3675, allocations: 0 / 0.5651 GB, free: 35.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3675, allocations: 2.438 kB / 0.5651 GB, free: 35.02 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.006059/0.3736, allocations: 2.152 MB / 0.5672 GB, free: 34.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3736, allocations: 12.17 kB / 0.5672 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.3738, allocations: 103.6 kB / 0.5673 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.3775, allocations: 0.6496 MB / 0.5679 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.3783, allocations: 0.6584 MB / 0.5685 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.3785, allocations: 176.9 kB / 0.5687 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3786, allocations: 61.44 kB / 0.5688 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.3802, allocations: 0.8717 MB / 0.5696 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3803, allocations: 2.484 kB / 0.5696 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.767e-05/0.3803, allocations: 22.53 kB / 0.5696 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.3804, allocations: 21.28 kB / 0.5697 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.3822, allocations: 0.9034 MB / 0.5705 GB, free: 33.59 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.003877/0.3861, allocations: 2.468 MB / 0.573 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3876, allocations: 1.068 MB / 0.574 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.3887, allocations: 0.6517 MB / 0.5746 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/0.3888, allocations: 14.2 kB / 0.5747 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.3888, allocations: 44.91 kB / 0.5747 GB, free: 32.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.515e-06/0.3888, allocations: 0 / 0.5747 GB, free: 32.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02176/0.4106, allocations: 5.662 MB / 0.5802 GB, free: 31.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4107, allocations: 60.38 kB / 0.5803 GB, free: 31.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.4117, allocations: 0.7561 MB / 0.581 GB, free: 31.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.4119, allocations: 40.92 kB / 0.5811 GB, free: 31.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.4121, allocations: 395.9 kB / 0.5814 GB, free: 31.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.4124, allocations: 296.5 kB / 0.5817 GB, free: 30.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.4127, allocations: 181.3 kB / 0.5819 GB, free: 30.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.4128, allocations: 347 kB / 0.5822 GB, free: 30.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4141, allocations: 0.6149 MB / 0.5828 GB, free: 30.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.4155, allocations: 0.7268 MB / 0.5835 GB, free: 29.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.4182, allocations: 1.335 MB / 0.5848 GB, free: 29.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4182, allocations: 0 / 0.5848 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01203/0.4303, allocations: 3.596 MB / 0.5883 GB, free: 28.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.4304, allocations: 5.562 kB / 0.5884 GB, free: 28.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4304, allocations: 1.844 kB / 0.5884 GB, free: 28.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005914/0.4363, allocations: 1.514 MB / 0.5898 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.4373, allocations: 170.5 kB / 0.59 GB, free: 28.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.4566, allocations: 8.19 MB / 0.598 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.458, allocations: 144.7 kB / 0.5981 GB, free: 24.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.4581, allocations: 36.94 kB / 0.5982 GB, free: 24.02 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.0004004/0.4585, allocations: 220.2 kB / 0.5984 GB, free: 23.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.4587, allocations: 100.9 kB / 0.5985 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.4703, allocations: 3.379 MB / 0.6018 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.4704, allocations: 8.812 kB / 0.6018 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4704, allocations: 2.25 kB / 0.6018 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.4704, allocations: 7.969 kB / 0.6018 GB, free: 22.99 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.01367/0.4841, allocations: 4.843 MB / 0.6065 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4841, allocations: 0 / 0.6065 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.4847, allocations: 93.94 kB / 0.6066 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/0.4904, allocations: 1.523 MB / 0.6081 GB, free: 20.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.4906, allocations: 19.34 kB / 0.6081 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.5059, allocations: 7.284 MB / 0.6152 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5059, allocations: 3.984 kB / 0.6152 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.5179, allocations: 4.191 MB / 0.6193 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.5183, allocations: 184.8 kB / 0.6195 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.5184, allocations: 12 kB / 0.6195 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/0.5193, allocations: 83.91 kB / 0.6196 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/0.5198, allocations: 168.8 kB / 0.6198 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.5199, allocations: 20 kB / 0.6198 GB, free: 9.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005345/0.5204, allocations: 0.5146 MB / 0.6203 GB, free: 9.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5204, allocations: 0 / 0.6203 GB, free: 9.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001091/0.5215, allocations: 375.6 kB / 0.6206 GB, free: 8.785 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.0123/0.5339, allocations: 4.769 MB / 0.6253 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005445/0.5393, allocations: 2.154 MB / 0.6274 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5394, allocations: 2.062 kB / 0.6274 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003508/0.5429, allocations: 1.33 MB / 0.6287 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.5437, allocations: 74.28 kB / 0.6288 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/0.5768, allocations: 13.43 MB / 0.6419 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.5776, allocations: 1.025 MB / 0.6429 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005106/0.5781, allocations: 92.97 kB / 0.643 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.5787, allocations: 351.3 kB / 0.6433 GB, free: 1.223 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5787, allocations: 0 / 0.6433 GB, free: 1.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06192/0.6407, allocations: 29.5 MB / 0.6721 GB, free: 4.098 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.15, allocations: 9.234 kB / 0.6721 GB, free: 4.09 MB / 478.1 MB (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)