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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.34/1.34, allocations: 222.9 MB / 240 MB, free: 4.535 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.001289/0.001289, allocations: 188.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4541/0.4541, allocations: 78.53 MB / 419 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 83.86 kB / 498.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1331, allocations: 68.17 MB / 0.5538 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.2266/0.3598, allocations: 5.294 MB / 0.5589 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.3629, allocations: 1.62 MB / 0.5605 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.3638, allocations: 7.5 kB / 0.5605 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.3645, allocations: 185.5 kB / 0.5607 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.3664, allocations: 0.623 MB / 0.5613 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3675, allocations: 0.4919 MB / 0.5618 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.3689, allocations: 1.074 MB / 0.5628 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.3694, allocations: 267.2 kB / 0.5631 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008742/0.3703, allocations: 471.6 kB / 0.5636 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.3712, allocations: 0.5984 MB / 0.5641 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.3714, allocations: 83.38 kB / 0.5642 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.3721, allocations: 225.2 kB / 0.5644 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.3723, allocations: 240.5 kB / 0.5647 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.373, allocations: 0.5043 MB / 0.5652 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.3745, allocations: 1.251 MB / 0.5664 GB, free: 35.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3745, allocations: 0 / 0.5664 GB, free: 35.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3745, allocations: 0.5625 kB / 0.5664 GB, free: 35.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.07e-05/0.3746, allocations: 0.5625 kB / 0.5664 GB, free: 35.05 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.007593/0.3822, allocations: 2.146 MB / 0.5685 GB, free: 34.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3822, allocations: 11.38 kB / 0.5685 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.3864, allocations: 0.6475 MB / 0.5691 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.3876, allocations: 0.6478 MB / 0.5697 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.3878, allocations: 179.6 kB / 0.5699 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.3879, allocations: 62.92 kB / 0.57 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.3895, allocations: 0.8749 MB / 0.5708 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3895, allocations: 0 / 0.5708 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.3896, allocations: 25.84 kB / 0.5709 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3896, allocations: 16.66 kB / 0.5709 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.3913, allocations: 0.9099 MB / 0.5718 GB, free: 33.64 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.003815/0.3951, allocations: 2.445 MB / 0.5741 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.3966, allocations: 1.071 MB / 0.5752 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3976, allocations: 0.6498 MB / 0.5758 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.3977, allocations: 13.12 kB / 0.5758 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3978, allocations: 45.28 kB / 0.5759 GB, free: 32.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.524e-06/0.3978, allocations: 0 / 0.5759 GB, free: 32.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02134/0.4191, allocations: 5.67 MB / 0.5814 GB, free: 31.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4192, allocations: 60.16 kB / 0.5815 GB, free: 31.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.4203, allocations: 0.7584 MB / 0.5822 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.4206, allocations: 42.52 kB / 0.5823 GB, free: 31.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.4208, allocations: 392.3 kB / 0.5826 GB, free: 31.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.421, allocations: 294.5 kB / 0.5829 GB, free: 30.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.4214, allocations: 180 kB / 0.5831 GB, free: 30.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.4215, allocations: 347.8 kB / 0.5834 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4227, allocations: 0.611 MB / 0.584 GB, free: 30.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.4241, allocations: 0.7211 MB / 0.5847 GB, free: 29.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.4267, allocations: 1.335 MB / 0.586 GB, free: 29.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.4267, allocations: 1.562 kB / 0.586 GB, free: 29.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01138/0.4381, allocations: 3.602 MB / 0.5895 GB, free: 28.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4382, allocations: 5.344 kB / 0.5895 GB, free: 28.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4382, allocations: 2.562 kB / 0.5896 GB, free: 28.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005665/0.4439, allocations: 1.509 MB / 0.591 GB, free: 28.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4449, allocations: 171.3 kB / 0.5912 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.4633, allocations: 8.18 MB / 0.5992 GB, free: 24.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4648, allocations: 152.1 kB / 0.5993 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.4649, allocations: 34.78 kB / 0.5994 GB, free: 24.05 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.0004273/0.4653, allocations: 219.6 kB / 0.5996 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.4655, allocations: 102.1 kB / 0.5997 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.4765, allocations: 3.381 MB / 0.603 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.4766, allocations: 8.531 kB / 0.603 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4766, allocations: 1.156 kB / 0.603 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.789e-05/0.4766, allocations: 8.156 kB / 0.603 GB, free: 23.02 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.01341/0.4901, allocations: 4.842 MB / 0.6077 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.4901, allocations: 1.031 kB / 0.6077 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.4907, allocations: 95.72 kB / 0.6078 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/0.496, allocations: 1.518 MB / 0.6093 GB, free: 20.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.4962, allocations: 20.56 kB / 0.6093 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/0.5107, allocations: 7.275 MB / 0.6164 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5108, allocations: 1.875 kB / 0.6164 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.5218, allocations: 4.19 MB / 0.6205 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.5223, allocations: 187.7 kB / 0.6207 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.5224, allocations: 12 kB / 0.6207 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.5233, allocations: 91.89 kB / 0.6208 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/0.5239, allocations: 165.7 kB / 0.6209 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.5239, allocations: 19.98 kB / 0.621 GB, free: 9.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005914/0.5245, allocations: 0.5107 MB / 0.6215 GB, free: 8.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5245, allocations: 0 / 0.6215 GB, free: 8.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001191/0.5257, allocations: 375.6 kB / 0.6218 GB, free: 8.473 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.0002614/0.526, allocations: 132.4 kB / 0.6219 GB, free: 8.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004823/0.5309, allocations: 2.102 MB / 0.624 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5309, allocations: 0 / 0.624 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.5341, allocations: 1.336 MB / 0.6253 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.5348, allocations: 71.95 kB / 0.6254 GB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.5375, allocations: 1.718 MB / 0.627 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.5378, allocations: 1.013 MB / 0.628 GB, free: 2.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.5381, allocations: 96.17 kB / 0.6281 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.5383, allocations: 55.42 kB / 0.6282 GB, free: 1.91 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5383, allocations: 0 / 0.6282 GB, free: 1.91 MB / 430.1 MB Notification: Performance of Templates: time 0.03128/0.5696, allocations: 21.49 MB / 0.6492 GB, free: 12.65 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)