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.001415/0.001416, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.439/1.439, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.001625/0.001625, allocations: 192.5 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4901/0.4901, allocations: 78.53 MB / 419.1 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 79.86 kB / 0.5543 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3842, allocations: 68.17 MB / 0.6209 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.004826/0.3891, allocations: 5.327 MB / 0.6261 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.3922, allocations: 1.63 MB / 0.6277 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.3926, allocations: 8 kB / 0.6277 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.3931, allocations: 186.4 kB / 0.6279 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.3946, allocations: 0.6484 MB / 0.6285 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009109/0.3955, allocations: 0.4932 MB / 0.629 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.3964, allocations: 1.094 MB / 0.63 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.3967, allocations: 270.5 kB / 0.6303 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.3971, allocations: 473.9 kB / 0.6307 GB, free: 76 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.3978, allocations: 0.6106 MB / 0.6313 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.398, allocations: 88 kB / 0.6314 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.3984, allocations: 215.9 kB / 0.6316 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.3987, allocations: 246.9 kB / 0.6319 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.3991, allocations: 0.5087 MB / 0.6324 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.4005, allocations: 1.263 MB / 0.6336 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.4005, allocations: 0 / 0.6336 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4005, allocations: 3.938 kB / 0.6336 GB, free: 13.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.4005, allocations: 0 / 0.6336 GB, free: 13.14 MB / 446.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.006942/0.4075, allocations: 2.166 MB / 0.6357 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4075, allocations: 12.03 kB / 0.6357 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.4116, allocations: 0.6469 MB / 0.6364 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.4127, allocations: 0.6504 MB / 0.637 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.4129, allocations: 184 kB / 0.6372 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.413, allocations: 64 kB / 0.6372 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.4149, allocations: 0.8809 MB / 0.6381 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.415, allocations: 0 / 0.6381 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.4151, allocations: 28 kB / 0.6381 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.4151, allocations: 15.94 kB / 0.6381 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.4171, allocations: 0.9303 MB / 0.639 GB, free: 7.438 MB / 446.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.004425/0.4215, allocations: 2.467 MB / 0.6414 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.4234, allocations: 1.11 MB / 0.6425 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4247, allocations: 0.6601 MB / 0.6432 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.4248, allocations: 16.98 kB / 0.6432 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4249, allocations: 39.56 kB / 0.6432 GB, free: 2.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.885e-06/0.4249, allocations: 4 kB / 0.6432 GB, free: 2.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.02269/0.4476, allocations: 5.603 MB / 0.6487 GB, free: 13.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.4477, allocations: 64.41 kB / 0.6488 GB, free: 13.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.4487, allocations: 0.7552 MB / 0.6495 GB, free: 12.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.449, allocations: 37.7 kB / 0.6495 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.4493, allocations: 400.7 kB / 0.6499 GB, free: 12.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4496, allocations: 299.6 kB / 0.6502 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.45, allocations: 186.8 kB / 0.6504 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4501, allocations: 341.9 kB / 0.6507 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4515, allocations: 0.6233 MB / 0.6513 GB, free: 10.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.4533, allocations: 0.731 MB / 0.652 GB, free: 9.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/0.4706, allocations: 4.186 MB / 0.6561 GB, free: 5.609 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4707, allocations: 0 / 0.6561 GB, free: 5.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01157/0.4822, allocations: 3.532 MB / 0.6596 GB, free: 2.062 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4823, allocations: 8.188 kB / 0.6596 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4823, allocations: 7.984 kB / 0.6596 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005301/0.4876, allocations: 1.43 MB / 0.661 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4887, allocations: 195.7 kB / 0.6612 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.5076, allocations: 8.109 MB / 0.6691 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.509, allocations: 143.2 kB / 0.6692 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.5091, allocations: 35.98 kB / 0.6693 GB, free: 7.996 MB / 478.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.0005051/0.5096, allocations: 230.1 kB / 0.6695 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.5099, allocations: 102.7 kB / 0.6696 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.5213, allocations: 3.364 MB / 0.6729 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5214, allocations: 11.98 kB / 0.6729 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5214, allocations: 4 kB / 0.6729 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.5214, allocations: 3.984 kB / 0.6729 GB, free: 4.258 MB / 478.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.01345/0.5349, allocations: 4.702 MB / 0.6775 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.5349, allocations: 4 kB / 0.6775 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.5356, allocations: 99.88 kB / 0.6776 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00555/0.5411, allocations: 1.468 MB / 0.679 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.5413, allocations: 16 kB / 0.679 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.5587, allocations: 7.468 MB / 0.6863 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5587, allocations: 4 kB / 0.6863 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.5722, allocations: 4.205 MB / 0.6904 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.5726, allocations: 183.7 kB / 0.6906 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.5728, allocations: 16 kB / 0.6906 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.5737, allocations: 83.91 kB / 0.6907 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000585/0.5743, allocations: 172.8 kB / 0.6909 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.5744, allocations: 23.94 kB / 0.6909 GB, free: 1.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006855/0.5751, allocations: 0.5107 MB / 0.6914 GB, free: 1.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5751, allocations: 0 / 0.6914 GB, free: 1.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001219/0.5763, allocations: 371.7 kB / 0.6917 GB, free: 0.6406 MB / 494.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.0002928/0.5766, allocations: 133.2 kB / 0.6919 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005679/0.5823, allocations: 2.088 MB / 0.6939 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5823, allocations: 0 / 0.6939 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004031/0.5863, allocations: 1.345 MB / 0.6952 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.5872, allocations: 80.8 kB / 0.6953 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.5906, allocations: 1.777 MB / 0.697 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.5912, allocations: 1.021 MB / 0.698 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.5915, allocations: 63.41 kB / 0.6981 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.5915, allocations: 0 / 0.6981 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.02242/0.6139, allocations: 16.74 MB / 0.7144 GB, free: 9.309 MB / 0.5137 GB 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)