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.001082/0.001082, allocations: 119.2 kB / 16.37 MB, free: 6.016 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.315/1.315, allocations: 222.9 MB / 240 MB, free: 4.523 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.001225/0.001225, allocations: 184.5 kB / 290.3 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4831/0.4831, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 0.5033 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2905, allocations: 71.26 MB / 0.5729 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005534/0.296, allocations: 7.011 MB / 0.5797 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.2994, allocations: 2.119 MB / 0.5818 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.2999, allocations: 18.12 kB / 0.5818 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.3006, allocations: 262.5 kB / 0.5821 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.302, allocations: 0.7673 MB / 0.5828 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3033, allocations: 0.7624 MB / 0.5836 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3045, allocations: 1.731 MB / 0.5853 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.305, allocations: 405.7 kB / 0.5856 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.3055, allocations: 0.6981 MB / 0.5863 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.3062, allocations: 0.8341 MB / 0.5871 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3064, allocations: 132.3 kB / 0.5873 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.3068, allocations: 279 kB / 0.5875 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.307, allocations: 339 kB / 0.5879 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.3074, allocations: 0.7183 MB / 0.5886 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.3087, allocations: 1.822 MB / 0.5903 GB, free: 26.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3087, allocations: 0 / 0.5903 GB, free: 26.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3087, allocations: 0 / 0.5903 GB, free: 26.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.3087, allocations: 1.188 kB / 0.5903 GB, free: 26.84 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.008084/0.3168, allocations: 2.837 MB / 0.5931 GB, free: 25.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3168, allocations: 10.12 kB / 0.5931 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.3217, allocations: 0.7957 MB / 0.5939 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.3232, allocations: 0.9356 MB / 0.5948 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.3234, allocations: 335.5 kB / 0.5951 GB, free: 24.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.3236, allocations: 91.91 kB / 0.5952 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.326, allocations: 1.287 MB / 0.5965 GB, free: 23.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.326, allocations: 3.938 kB / 0.5965 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/0.3261, allocations: 35.94 kB / 0.5965 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.3261, allocations: 20.84 kB / 0.5965 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.3286, allocations: 1.201 MB / 0.5977 GB, free: 23.5 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.00661/0.3353, allocations: 4.192 MB / 0.6018 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.3383, allocations: 1.772 MB / 0.6035 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.3399, allocations: 0.8606 MB / 0.6044 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.34, allocations: 17.17 kB / 0.6044 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.3419, allocations: 0.9592 MB / 0.6053 GB, free: 19.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.755e-06/0.3419, allocations: 0 / 0.6053 GB, free: 19.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03089/0.3728, allocations: 7.762 MB / 0.6129 GB, free: 17.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3729, allocations: 119.2 kB / 0.613 GB, free: 17.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.3746, allocations: 1.038 MB / 0.614 GB, free: 17.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.3748, allocations: 46.14 kB / 0.6141 GB, free: 17.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.3751, allocations: 0.5204 MB / 0.6146 GB, free: 16.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.3754, allocations: 395.6 kB / 0.615 GB, free: 16.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.3759, allocations: 243.5 kB / 0.6152 GB, free: 16.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.376, allocations: 357.8 kB / 0.6155 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.3776, allocations: 0.7877 MB / 0.6163 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.3793, allocations: 0.9397 MB / 0.6172 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02057/0.3999, allocations: 5.475 MB / 0.6226 GB, free: 10.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4, allocations: 7.938 kB / 0.6226 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01216/0.4121, allocations: 4.456 MB / 0.6269 GB, free: 6.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.4122, allocations: 67.34 kB / 0.627 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4122, allocations: 4 kB / 0.627 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005142/0.4173, allocations: 1.729 MB / 0.6287 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.4187, allocations: 283.6 kB / 0.629 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/0.4376, allocations: 9.046 MB / 0.6378 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.4395, allocations: 202.8 kB / 0.638 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.4397, allocations: 51.97 kB / 0.638 GB, free: 10.96 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.0006562/0.4403, allocations: 295.7 kB / 0.6383 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.4407, allocations: 134.3 kB / 0.6384 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.4551, allocations: 4.401 MB / 0.6427 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4551, allocations: 12 kB / 0.6427 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4551, allocations: 0 / 0.6427 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4552, allocations: 7.969 kB / 0.6428 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.4721, allocations: 6.275 MB / 0.6489 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.4722, allocations: 4 kB / 0.6489 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000833/0.473, allocations: 127.8 kB / 0.649 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006604/0.4797, allocations: 1.895 MB / 0.6509 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.4799, allocations: 27.98 kB / 0.6509 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.5036, allocations: 10.71 MB / 0.6613 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5036, allocations: 0 / 0.6613 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/0.5206, allocations: 5.437 MB / 0.6667 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.5212, allocations: 219.2 kB / 0.6669 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.5216, allocations: 19.98 kB / 0.6669 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.5232, allocations: 143.9 kB / 0.667 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008025/0.524, allocations: 236.6 kB / 0.6672 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.5242, allocations: 24 kB / 0.6673 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.5254, allocations: 0.7084 MB / 0.668 GB, free: 11.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5254, allocations: 4 kB / 0.668 GB, free: 11.76 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001653/0.5271, allocations: 479.4 kB / 0.6684 GB, free: 11.29 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.0003138/0.5274, allocations: 139.2 kB / 0.6685 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007001/0.5344, allocations: 2.739 MB / 0.6712 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5344, allocations: 0 / 0.6712 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.5395, allocations: 1.888 MB / 0.6731 GB, free: 6.438 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5406, allocations: 122.6 kB / 0.6732 GB, free: 6.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.5454, allocations: 2.477 MB / 0.6756 GB, free: 3.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/0.5461, allocations: 1.155 MB / 0.6767 GB, free: 2.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000411/0.5465, allocations: 112.3 kB / 0.6768 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.5468, allocations: 83.34 kB / 0.6769 GB, free: 2.438 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5468, allocations: 0 / 0.6769 GB, free: 2.438 MB / 478.1 MB Notification: Performance of Templates: time 0.04098/0.5878, allocations: 27.34 MB / 0.7036 GB, free: 7.125 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 gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)