Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.295/1.295, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001103/0.001103, allocations: 192.1 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4946/0.4946, allocations: 79.45 MB / 420.7 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 11.98 kB / 0.489 GB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 69.51 MB / 0.5569 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.2301/0.3529, allocations: 4.677 MB / 0.5614 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3556, allocations: 1.605 MB / 0.563 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.356, allocations: 9 kB / 0.563 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.3564, allocations: 133.4 kB / 0.5631 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3578, allocations: 0.5728 MB / 0.5637 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.3586, allocations: 424.4 kB / 0.5641 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3597, allocations: 0.7212 MB / 0.5648 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.36, allocations: 216 kB / 0.565 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004681/0.3605, allocations: 397.7 kB / 0.5654 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.361, allocations: 0.5365 MB / 0.5659 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.3611, allocations: 43.91 kB / 0.566 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.3615, allocations: 154.5 kB / 0.5661 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3617, allocations: 187.8 kB / 0.5663 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.3618, allocations: 182.8 kB / 0.5665 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007524/0.3626, allocations: 0.8885 MB / 0.5673 GB, free: 36.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3626, allocations: 0 / 0.5673 GB, free: 36.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3626, allocations: 1.031 kB / 0.5673 GB, free: 36.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3626, allocations: 0 / 0.5673 GB, free: 36.47 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006269/0.3689, allocations: 2.05 MB / 0.5693 GB, free: 35.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3689, allocations: 13.38 kB / 0.5693 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.3731, allocations: 0.6424 MB / 0.57 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.3742, allocations: 0.6216 MB / 0.5706 GB, free: 35.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.3744, allocations: 182.2 kB / 0.5708 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.3745, allocations: 71.97 kB / 0.5708 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3763, allocations: 0.941 MB / 0.5717 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3763, allocations: 3.688 kB / 0.5717 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.3764, allocations: 23.25 kB / 0.5718 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3764, allocations: 17.33 kB / 0.5718 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.3783, allocations: 1.002 MB / 0.5728 GB, free: 35.09 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.003863/0.3822, allocations: 2.536 MB / 0.5752 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.3839, allocations: 1.188 MB / 0.5764 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.384, allocations: 16.19 kB / 0.5764 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.384, allocations: 41 kB / 0.5765 GB, free: 33.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.404e-06/0.384, allocations: 0 / 0.5765 GB, free: 33.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02222/0.4062, allocations: 6.675 MB / 0.583 GB, free: 31.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4063, allocations: 59.38 kB / 0.583 GB, free: 31.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.4073, allocations: 0.7628 MB / 0.5838 GB, free: 31.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.4075, allocations: 42.11 kB / 0.5838 GB, free: 31.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.4077, allocations: 404.7 kB / 0.5842 GB, free: 31.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.408, allocations: 297.3 kB / 0.5845 GB, free: 30.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.4081, allocations: 19.31 kB / 0.5845 GB, free: 30.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.4081, allocations: 348.6 kB / 0.5848 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.4095, allocations: 0.6852 MB / 0.5855 GB, free: 30.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.411, allocations: 0.7846 MB / 0.5863 GB, free: 29.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.4125, allocations: 0.7354 MB / 0.587 GB, free: 29.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4125, allocations: 0.9375 kB / 0.587 GB, free: 29.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01303/0.4255, allocations: 4.39 MB / 0.5913 GB, free: 28.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.4256, allocations: 6.453 kB / 0.5913 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4256, allocations: 2.375 kB / 0.5913 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006498/0.4321, allocations: 1.83 MB / 0.5931 GB, free: 28.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.4331, allocations: 178.5 kB / 0.5932 GB, free: 28.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/0.453, allocations: 9.027 MB / 0.6021 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4546, allocations: 177 kB / 0.6022 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4548, allocations: 36.53 kB / 0.6023 GB, free: 24.21 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004834/0.4553, allocations: 231.8 kB / 0.6025 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4555, allocations: 100.1 kB / 0.6026 GB, free: 23.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.468, allocations: 4.141 MB / 0.6066 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.468, allocations: 7.875 kB / 0.6066 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.468, allocations: 2 kB / 0.6066 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.468, allocations: 3.984 kB / 0.6066 GB, free: 23.08 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.01429/0.4823, allocations: 5.518 MB / 0.612 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4824, allocations: 0 / 0.612 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.483, allocations: 112.9 kB / 0.6121 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005474/0.4885, allocations: 1.77 MB / 0.6139 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.4887, allocations: 16 kB / 0.6139 GB, free: 18.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.5036, allocations: 7.789 MB / 0.6215 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5036, allocations: 0.5469 kB / 0.6215 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.5162, allocations: 5.078 MB / 0.6264 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.5165, allocations: 183.6 kB / 0.6266 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5167, allocations: 16 kB / 0.6266 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/0.5176, allocations: 120.8 kB / 0.6267 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/0.5181, allocations: 168.7 kB / 0.6269 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.5181, allocations: 24 kB / 0.6269 GB, free: 4.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000533/0.5187, allocations: 0.5107 MB / 0.6274 GB, free: 4.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5187, allocations: 0 / 0.6274 GB, free: 4.234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00115/0.5198, allocations: 379.7 kB / 0.6278 GB, free: 3.863 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.5201, allocations: 123.1 kB / 0.6279 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005545/0.5256, allocations: 2.366 MB / 0.6302 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5256, allocations: 0 / 0.6302 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.5293, allocations: 1.504 MB / 0.6317 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.5298, allocations: 61.08 kB / 0.6317 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.533, allocations: 2.067 MB / 0.6338 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.5336, allocations: 1.049 MB / 0.6348 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003378/0.534, allocations: 93.58 kB / 0.6349 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5342, allocations: 47.42 kB / 0.6349 GB, free: 12.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5342, allocations: 0 / 0.6349 GB, free: 12.52 MB / 446.1 MB Notification: Performance of Templates: time 0.02856/0.5627, allocations: 18.5 MB / 0.653 GB, free: 10.25 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)