Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 109.2 kB / 15.99 MB, free: 6.367 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.279/1.279, allocations: 222.9 MB / 239.6 MB, free: 4.699 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.001263/0.001263, allocations: 204.3 kB / 289.9 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4294/0.4294, allocations: 78.52 MB / 418.6 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.89 kB / 497.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 68.18 MB / 0.5525 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.2265/0.356, allocations: 5.591 MB / 0.558 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3592, allocations: 1.666 MB / 0.5596 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.3597, allocations: 9.094 kB / 0.5596 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.3602, allocations: 138.8 kB / 0.5597 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.3617, allocations: 0.5658 MB / 0.5603 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.3626, allocations: 466.1 kB / 0.5607 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3637, allocations: 1.082 MB / 0.5618 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.3641, allocations: 269.4 kB / 0.562 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006239/0.3647, allocations: 470 kB / 0.5625 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005884/0.3653, allocations: 0.6189 MB / 0.5631 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3654, allocations: 86.44 kB / 0.5632 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.3659, allocations: 224 kB / 0.5634 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.366, allocations: 241.7 kB / 0.5636 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.3664, allocations: 0.5052 MB / 0.5641 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009329/0.3673, allocations: 0.9583 MB / 0.5651 GB, free: 35.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3674, allocations: 9.156 kB / 0.5651 GB, free: 35.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3674, allocations: 0 / 0.5651 GB, free: 35.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.3674, allocations: 0 / 0.5651 GB, free: 35.07 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006703/0.3741, allocations: 2.164 MB / 0.5672 GB, free: 34.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3742, allocations: 9.125 kB / 0.5672 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.378, allocations: 0.6491 MB / 0.5678 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.3789, allocations: 0.6522 MB / 0.5685 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.3791, allocations: 179.6 kB / 0.5686 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.3792, allocations: 65.75 kB / 0.5687 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.3809, allocations: 0.8813 MB / 0.5696 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3809, allocations: 0 / 0.5696 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.381, allocations: 26.25 kB / 0.5696 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.381, allocations: 18.5 kB / 0.5696 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.3828, allocations: 0.9281 MB / 0.5705 GB, free: 33.68 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.003879/0.3867, allocations: 2.481 MB / 0.5729 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3882, allocations: 1.111 MB / 0.574 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.3893, allocations: 0.6588 MB / 0.5747 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3895, allocations: 15.02 kB / 0.5747 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3895, allocations: 42.78 kB / 0.5747 GB, free: 32.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.855e-06/0.3895, allocations: 0 / 0.5747 GB, free: 32.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02037/0.4099, allocations: 5.598 MB / 0.5802 GB, free: 31.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4099, allocations: 60.62 kB / 0.5802 GB, free: 31.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.4109, allocations: 0.7539 MB / 0.581 GB, free: 31.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.4111, allocations: 41.05 kB / 0.581 GB, free: 31.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4113, allocations: 404.1 kB / 0.5814 GB, free: 31.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.4116, allocations: 307.8 kB / 0.5817 GB, free: 30.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.4119, allocations: 180.1 kB / 0.5819 GB, free: 30.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.412, allocations: 350.7 kB / 0.5822 GB, free: 30.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4132, allocations: 0.6188 MB / 0.5828 GB, free: 30.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.4144, allocations: 0.7282 MB / 0.5835 GB, free: 30 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/0.4311, allocations: 4.2 MB / 0.5876 GB, free: 28.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.4312, allocations: 0 / 0.5876 GB, free: 28.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01224/0.4434, allocations: 3.539 MB / 0.5911 GB, free: 28.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.4435, allocations: 5.344 kB / 0.5911 GB, free: 28.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4435, allocations: 2.469 kB / 0.5911 GB, free: 28.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/0.4491, allocations: 1.435 MB / 0.5925 GB, free: 27.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4502, allocations: 195 kB / 0.5927 GB, free: 27.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.4684, allocations: 8.12 MB / 0.6006 GB, free: 23.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4699, allocations: 149.7 kB / 0.6007 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.47, allocations: 35.5 kB / 0.6008 GB, free: 23.57 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 order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 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 (101): * Single equations (assignments): 100 * 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 {(18,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004705/0.4705, allocations: 228.7 kB / 0.601 GB, free: 23.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.4707, allocations: 98.12 kB / 0.6011 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.4823, allocations: 3.364 MB / 0.6044 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.4824, allocations: 8.094 kB / 0.6044 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4824, allocations: 0.5625 kB / 0.6044 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.4824, allocations: 7.906 kB / 0.6044 GB, free: 22.58 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.01291/0.4953, allocations: 4.716 MB / 0.609 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.4954, allocations: 3.984 kB / 0.609 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.4961, allocations: 100.5 kB / 0.6091 GB, free: 20.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005237/0.5013, allocations: 1.474 MB / 0.6105 GB, free: 19.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.5016, allocations: 20.12 kB / 0.6105 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.5162, allocations: 7.468 MB / 0.6178 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5162, allocations: 3.984 kB / 0.6178 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.5274, allocations: 4.201 MB / 0.6219 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5278, allocations: 183.7 kB / 0.6221 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.528, allocations: 16 kB / 0.6221 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.5288, allocations: 89.09 kB / 0.6222 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/0.5293, allocations: 168.8 kB / 0.6224 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.5294, allocations: 20 kB / 0.6224 GB, free: 7.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005288/0.5299, allocations: 0.5146 MB / 0.6229 GB, free: 6.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5299, allocations: 0 / 0.6229 GB, free: 6.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001123/0.531, allocations: 371.7 kB / 0.6233 GB, free: 6.465 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,exponentialRecovery.xp,exponentialRecovery.xq) * 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 (52): * Single equations (assignments): 51 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.5313, allocations: 137.8 kB / 0.6234 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005248/0.5365, allocations: 2.144 MB / 0.6255 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5366, allocations: 0.5625 kB / 0.6255 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.54, allocations: 1.334 MB / 0.6268 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.5409, allocations: 90.64 kB / 0.6269 GB, free: 2.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.5439, allocations: 2.115 MB / 0.6289 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.5445, allocations: 1.025 MB / 0.6299 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.5448, allocations: 63.41 kB / 0.63 GB, free: 15.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5448, allocations: 0 / 0.63 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Templates: time 0.02158/0.5664, allocations: 16.66 MB / 0.6463 GB, free: 15.04 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)