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.005103/0.005103, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.348/1.348, allocations: 222.9 MB / 239.4 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.00132/0.00132, allocations: 196.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4341/0.4341, allocations: 78.54 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.88 kB / 0.5536 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3013, allocations: 68.16 MB / 0.6202 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.004403/0.3058, allocations: 5.336 MB / 0.6254 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.3084, allocations: 1.638 MB / 0.627 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.3088, allocations: 8 kB / 0.627 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.3092, allocations: 186.4 kB / 0.6272 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.3105, allocations: 0.6369 MB / 0.6278 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.3113, allocations: 0.4928 MB / 0.6283 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.3121, allocations: 1.094 MB / 0.6294 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.3124, allocations: 258.5 kB / 0.6296 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.3129, allocations: 481.9 kB / 0.6301 GB, free: 48 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.3136, allocations: 0.6067 MB / 0.6307 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3138, allocations: 84 kB / 0.6307 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.3142, allocations: 219.8 kB / 0.6309 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.3144, allocations: 251 kB / 0.6312 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.3149, allocations: 0.5047 MB / 0.6317 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.3163, allocations: 1.277 MB / 0.6329 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3163, allocations: 0 / 0.6329 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3163, allocations: 0 / 0.6329 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.3163, allocations: 0 / 0.6329 GB, free: 13.11 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.006589/0.3229, allocations: 2.2 MB / 0.6351 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3229, allocations: 12.03 kB / 0.6351 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.3271, allocations: 0.6515 MB / 0.6357 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009091/0.328, allocations: 0.6667 MB / 0.6364 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3282, allocations: 184.1 kB / 0.6366 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3283, allocations: 63.98 kB / 0.6366 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3302, allocations: 0.8848 MB / 0.6375 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3302, allocations: 0 / 0.6375 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.3303, allocations: 24 kB / 0.6375 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.3303, allocations: 19.94 kB / 0.6375 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3323, allocations: 0.9264 MB / 0.6384 GB, free: 7.348 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.004089/0.3365, allocations: 2.471 MB / 0.6408 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3382, allocations: 1.106 MB / 0.6419 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3395, allocations: 0.6601 MB / 0.6426 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.3396, allocations: 9 kB / 0.6426 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3397, allocations: 39.56 kB / 0.6426 GB, free: 2.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.3397, allocations: 0 / 0.6426 GB, free: 2.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.02185/0.3615, allocations: 5.615 MB / 0.6481 GB, free: 13.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3616, allocations: 60.41 kB / 0.6481 GB, free: 13.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.3626, allocations: 0.7553 MB / 0.6489 GB, free: 12.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.3628, allocations: 41.7 kB / 0.6489 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.363, allocations: 405.2 kB / 0.6493 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.3633, allocations: 317.2 kB / 0.6496 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.3637, allocations: 190.8 kB / 0.6498 GB, free: 11.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3638, allocations: 341.9 kB / 0.6501 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.3652, allocations: 0.6155 MB / 0.6507 GB, free: 10.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.3666, allocations: 0.735 MB / 0.6514 GB, free: 9.715 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/0.3836, allocations: 4.19 MB / 0.6555 GB, free: 5.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3836, allocations: 0 / 0.6555 GB, free: 5.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01133/0.395, allocations: 3.54 MB / 0.659 GB, free: 1.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.395, allocations: 4 kB / 0.659 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.395, allocations: 4 kB / 0.659 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005195/0.4002, allocations: 1.434 MB / 0.6604 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4013, allocations: 195.8 kB / 0.6606 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/0.4196, allocations: 8.125 MB / 0.6685 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.421, allocations: 143.3 kB / 0.6687 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.4211, allocations: 35.98 kB / 0.6687 GB, free: 7.867 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.0004281/0.4215, allocations: 230.1 kB / 0.6689 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.4217, allocations: 103.3 kB / 0.669 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.4325, allocations: 3.368 MB / 0.6723 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4325, allocations: 8 kB / 0.6723 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4325, allocations: 0 / 0.6723 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.4325, allocations: 7.984 kB / 0.6723 GB, free: 4.129 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.01288/0.4454, allocations: 4.699 MB / 0.6769 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.4455, allocations: 3.984 kB / 0.6769 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.4461, allocations: 111.8 kB / 0.677 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005264/0.4514, allocations: 1.464 MB / 0.6784 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4516, allocations: 16 kB / 0.6785 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.4681, allocations: 7.492 MB / 0.6858 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4681, allocations: 0 / 0.6858 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.4808, allocations: 4.206 MB / 0.6899 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.4812, allocations: 196.2 kB / 0.6901 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.4814, allocations: 16 kB / 0.6901 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/0.4822, allocations: 83.89 kB / 0.6902 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005694/0.4828, allocations: 172.8 kB / 0.6903 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.4829, allocations: 16 kB / 0.6903 GB, free: 1.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006419/0.4835, allocations: 0.5146 MB / 0.6908 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4835, allocations: 0 / 0.6908 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001162/0.4847, allocations: 367.7 kB / 0.6912 GB, free: 496 kB / 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.0002884/0.485, allocations: 136.2 kB / 0.6913 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005519/0.4905, allocations: 2.092 MB / 0.6934 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4905, allocations: 4.062 kB / 0.6934 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.4944, allocations: 1.341 MB / 0.6947 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.4952, allocations: 83.31 kB / 0.6948 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.4983, allocations: 1.766 MB / 0.6965 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.4989, allocations: 1.021 MB / 0.6975 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.4992, allocations: 93.67 kB / 0.6976 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.4994, allocations: 55.42 kB / 0.6976 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.4994, allocations: 0 / 0.6976 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.03139/0.5308, allocations: 20.68 MB / 0.7178 GB, free: 5.152 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)