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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.466/1.466, allocations: 222.9 MB / 238.8 MB, free: 4.746 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.001483/0.001484, allocations: 192.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5262/0.5262, allocations: 91.89 MB / 431.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 75.89 kB / 0.5012 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4174, allocations: 71.27 MB / 0.5708 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006821/0.4243, allocations: 7.362 MB / 0.578 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004898/0.4292, allocations: 2.187 MB / 0.5801 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.4308, allocations: 15.72 kB / 0.5801 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.4317, allocations: 193.5 kB / 0.5803 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.4338, allocations: 0.6947 MB / 0.581 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4353, allocations: 0.6966 MB / 0.5817 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.4371, allocations: 1.63 MB / 0.5833 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.4376, allocations: 365.6 kB / 0.5836 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009144/0.4385, allocations: 0.6294 MB / 0.5842 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008816/0.4394, allocations: 0.7999 MB / 0.585 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.4396, allocations: 75.75 kB / 0.5851 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006871/0.4403, allocations: 208.2 kB / 0.5853 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4406, allocations: 295.4 kB / 0.5856 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006505/0.4412, allocations: 0.6641 MB / 0.5862 GB, free: 27.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.4435, allocations: 1.732 MB / 0.5879 GB, free: 26.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4435, allocations: 0 / 0.5879 GB, free: 26.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.4435, allocations: 0 / 0.5879 GB, free: 26.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.879e-05/0.4436, allocations: 5.094 kB / 0.5879 GB, free: 26.69 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.009661/0.4533, allocations: 2.847 MB / 0.5907 GB, free: 25.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4533, allocations: 9.031 kB / 0.5907 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/0.4586, allocations: 0.7977 MB / 0.5915 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.4604, allocations: 0.917 MB / 0.5924 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.4607, allocations: 338.3 kB / 0.5927 GB, free: 24.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.4609, allocations: 92.06 kB / 0.5928 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.4636, allocations: 1.289 MB / 0.5941 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.4636, allocations: 1.375 kB / 0.5941 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.4637, allocations: 35.5 kB / 0.5941 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.4637, allocations: 21.44 kB / 0.5941 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.4664, allocations: 1.202 MB / 0.5953 GB, free: 23.34 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.007648/0.4741, allocations: 4.21 MB / 0.5994 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.4773, allocations: 1.762 MB / 0.6011 GB, free: 19.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.4791, allocations: 0.8627 MB / 0.602 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4792, allocations: 18.02 kB / 0.602 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/0.4813, allocations: 0.9626 MB / 0.6029 GB, free: 19.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 4.659e-06/0.4814, allocations: 3.984 kB / 0.6029 GB, free: 19.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03303/0.5144, allocations: 7.758 MB / 0.6105 GB, free: 17.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.5145, allocations: 115.8 kB / 0.6106 GB, free: 17.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.5164, allocations: 1.039 MB / 0.6116 GB, free: 17.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003444/0.5167, allocations: 46.7 kB / 0.6117 GB, free: 17.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.5171, allocations: 0.5229 MB / 0.6122 GB, free: 16.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004302/0.5175, allocations: 392.8 kB / 0.6125 GB, free: 16.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.518, allocations: 251.8 kB / 0.6128 GB, free: 16.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5182, allocations: 356 kB / 0.6131 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.5199, allocations: 0.787 MB / 0.6139 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.5219, allocations: 0.9424 MB / 0.6148 GB, free: 15.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02195/0.5438, allocations: 5.481 MB / 0.6202 GB, free: 11.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.5439, allocations: 3.938 kB / 0.6202 GB, free: 11.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01297/0.5569, allocations: 4.46 MB / 0.6245 GB, free: 7.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.557, allocations: 63.39 kB / 0.6246 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.557, allocations: 4 kB / 0.6246 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.5625, allocations: 1.729 MB / 0.6263 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.5642, allocations: 283.6 kB / 0.6266 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/0.5838, allocations: 8.323 MB / 0.6347 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.5862, allocations: 210.8 kB / 0.6349 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/0.5866, allocations: 51.98 kB / 0.6349 GB, free: 12.37 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.001314/0.588, allocations: 299.6 kB / 0.6352 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/0.5886, allocations: 134.3 kB / 0.6353 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.6041, allocations: 4.401 MB / 0.6396 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/0.6042, allocations: 12 kB / 0.6397 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6042, allocations: 0 / 0.6397 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/0.6043, allocations: 3.984 kB / 0.6397 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/0.6255, allocations: 6.279 MB / 0.6458 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.6256, allocations: 0 / 0.6458 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.6266, allocations: 123.9 kB / 0.6459 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006671/0.6333, allocations: 1.906 MB / 0.6478 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000349/0.6337, allocations: 24 kB / 0.6478 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/0.6578, allocations: 9.754 MB / 0.6573 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6579, allocations: 0 / 0.6573 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/0.6758, allocations: 5.423 MB / 0.6626 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/0.6765, allocations: 223.2 kB / 0.6628 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006396/0.6772, allocations: 28.12 kB / 0.6629 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/0.6791, allocations: 139.8 kB / 0.663 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/0.6802, allocations: 232.5 kB / 0.6632 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/0.6805, allocations: 28 kB / 0.6632 GB, free: 14.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001623/0.6822, allocations: 0.7006 MB / 0.6639 GB, free: 14.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6822, allocations: 0 / 0.6639 GB, free: 14.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002557/0.6847, allocations: 491.4 kB / 0.6644 GB, free: 13.67 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.0004328/0.6852, allocations: 140.9 kB / 0.6645 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007749/0.693, allocations: 2.692 MB / 0.6672 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.693, allocations: 0 / 0.6672 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005414/0.6984, allocations: 1.831 MB / 0.6689 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.7003, allocations: 123.7 kB / 0.6691 GB, free: 8.805 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/0.7068, allocations: 2.976 MB / 0.672 GB, free: 5.801 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.7079, allocations: 1.152 MB / 0.6731 GB, free: 4.613 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007129/0.7086, allocations: 112.3 kB / 0.6732 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.709, allocations: 75.41 kB / 0.6733 GB, free: 4.426 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.709, allocations: 3.938 kB / 0.6733 GB, free: 4.422 MB / 478.1 MB Notification: Performance of Templates: time 0.04509/0.7541, allocations: 24.61 MB / 0.6973 GB, free: 11.85 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)