Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 103.3 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.279/1.279, allocations: 222.9 MB / 240 MB, free: 4.531 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.001246/0.001246, allocations: 184.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.1.0-master/package.mo): time 0.4756/0.4756, allocations: 91.91 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 80.16 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2951, allocations: 71.25 MB / 0.5729 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005443/0.3006, allocations: 7.019 MB / 0.5797 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.3038, allocations: 2.123 MB / 0.5818 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.3043, allocations: 15.59 kB / 0.5818 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.3049, allocations: 257.1 kB / 0.5821 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3063, allocations: 0.774 MB / 0.5828 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.3076, allocations: 0.7591 MB / 0.5836 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3089, allocations: 1.729 MB / 0.5852 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.3094, allocations: 402.2 kB / 0.5856 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006862/0.3101, allocations: 0.7015 MB / 0.5863 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.3108, allocations: 0.8383 MB / 0.5871 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.3109, allocations: 130.8 kB / 0.5873 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.3114, allocations: 275.2 kB / 0.5875 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3116, allocations: 348.3 kB / 0.5878 GB, free: 28.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.3121, allocations: 0.7173 MB / 0.5885 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3134, allocations: 1.817 MB / 0.5903 GB, free: 26.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3134, allocations: 0 / 0.5903 GB, free: 26.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3134, allocations: 0 / 0.5903 GB, free: 26.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.3134, allocations: 1.219 kB / 0.5903 GB, free: 26.89 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007905/0.3213, allocations: 2.841 MB / 0.5931 GB, free: 25.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3214, allocations: 8.688 kB / 0.5931 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.3262, allocations: 0.8017 MB / 0.5939 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.3277, allocations: 0.9268 MB / 0.5948 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.328, allocations: 330.7 kB / 0.5951 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3282, allocations: 88.09 kB / 0.5952 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3306, allocations: 1.295 MB / 0.5965 GB, free: 23.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3306, allocations: 7.938 kB / 0.5965 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.3307, allocations: 36.69 kB / 0.5965 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3307, allocations: 21.78 kB / 0.5965 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.3331, allocations: 1.199 MB / 0.5977 GB, free: 23.54 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.00636/0.3395, allocations: 4.192 MB / 0.6018 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.3423, allocations: 1.765 MB / 0.6035 GB, free: 20.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3439, allocations: 0.8586 MB / 0.6043 GB, free: 19.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.344, allocations: 23.94 kB / 0.6044 GB, free: 19.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.3458, allocations: 0.9555 MB / 0.6053 GB, free: 19.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.154e-06/0.3458, allocations: 1.031 kB / 0.6053 GB, free: 19.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03122/0.377, allocations: 7.755 MB / 0.6129 GB, free: 17.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.3771, allocations: 118.9 kB / 0.613 GB, free: 17.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.3786, allocations: 1.044 MB / 0.614 GB, free: 17.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.3789, allocations: 46.08 kB / 0.6141 GB, free: 17.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.3792, allocations: 0.5247 MB / 0.6146 GB, free: 16.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.3795, allocations: 391.1 kB / 0.6149 GB, free: 16.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/0.3799, allocations: 243.2 kB / 0.6152 GB, free: 16.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.38, allocations: 358 kB / 0.6155 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.3815, allocations: 0.788 MB / 0.6163 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.3831, allocations: 0.94 MB / 0.6172 GB, free: 14.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/0.4023, allocations: 5.483 MB / 0.6226 GB, free: 10.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4023, allocations: 3.938 kB / 0.6226 GB, free: 10.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01161/0.4139, allocations: 4.459 MB / 0.6269 GB, free: 6.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.414, allocations: 59.41 kB / 0.627 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.414, allocations: 320 / 0.627 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004879/0.4189, allocations: 1.741 MB / 0.6287 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4201, allocations: 279.6 kB / 0.6289 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.438, allocations: 9.048 MB / 0.6378 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.4398, allocations: 202.8 kB / 0.638 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.44, allocations: 51.98 kB / 0.638 GB, free: 10.94 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005527/0.4405, allocations: 295.7 kB / 0.6383 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.4407, allocations: 130.4 kB / 0.6384 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.4543, allocations: 4.401 MB / 0.6427 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4543, allocations: 12 kB / 0.6427 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4544, allocations: 4 kB / 0.6427 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.4544, allocations: 3.984 kB / 0.6427 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.4707, allocations: 6.271 MB / 0.6489 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4708, allocations: 4.031 kB / 0.6489 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007262/0.4715, allocations: 131.9 kB / 0.649 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.4775, allocations: 1.903 MB / 0.6509 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.4777, allocations: 20 kB / 0.6509 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/0.4993, allocations: 10.71 MB / 0.6613 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4993, allocations: 0 / 0.6613 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/0.5154, allocations: 5.429 MB / 0.6666 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.5159, allocations: 223.2 kB / 0.6668 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5161, allocations: 20 kB / 0.6669 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5174, allocations: 143.8 kB / 0.667 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/0.5181, allocations: 236.7 kB / 0.6672 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.5182, allocations: 35.98 kB / 0.6673 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.5192, allocations: 0.7084 MB / 0.6679 GB, free: 11.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5193, allocations: 0 / 0.6679 GB, free: 11.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001409/0.5207, allocations: 479.4 kB / 0.6684 GB, free: 11.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.521, allocations: 135.2 kB / 0.6685 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006631/0.5276, allocations: 2.742 MB / 0.6712 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5276, allocations: 4 kB / 0.6712 GB, free: 8.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004782/0.5324, allocations: 1.88 MB / 0.6731 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.5334, allocations: 126.4 kB / 0.6732 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.5379, allocations: 2.471 MB / 0.6756 GB, free: 3.805 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.5386, allocations: 1.151 MB / 0.6767 GB, free: 2.621 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.539, allocations: 120.3 kB / 0.6768 GB, free: 2.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5392, allocations: 83.36 kB / 0.6769 GB, free: 2.418 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5392, allocations: 0 / 0.6769 GB, free: 2.418 MB / 478.1 MB Notification: Performance of Templates: time 0.03788/0.5771, allocations: 27.34 MB / 0.7036 GB, free: 7.105 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)