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.0009261/0.0009261, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.314/1.314, allocations: 223.2 MB / 239 MB, free: 5.461 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.0009788/0.0009789, allocations: 180.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.484/0.484, allocations: 91.93 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 0.5042 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 72.47 MB / 0.5749 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.004523/0.3048, allocations: 6.45 MB / 0.5812 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3082, allocations: 2.065 MB / 0.5833 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005947/0.3088, allocations: 17.16 kB / 0.5833 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.3094, allocations: 185.7 kB / 0.5835 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.3108, allocations: 0.6394 MB / 0.5841 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3121, allocations: 0.6119 MB / 0.5847 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3134, allocations: 1.534 MB / 0.5862 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.3138, allocations: 328.5 kB / 0.5865 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005886/0.3144, allocations: 0.5946 MB / 0.5871 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.3151, allocations: 0.7254 MB / 0.5878 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3152, allocations: 59.28 kB / 0.5878 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.3156, allocations: 191.9 kB / 0.588 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.3157, allocations: 256.5 kB / 0.5883 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3159, allocations: 242.2 kB / 0.5885 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000917/0.3169, allocations: 1.337 MB / 0.5898 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3169, allocations: 3.531 kB / 0.5898 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3169, allocations: 0 / 0.5898 GB, free: 27.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.3169, allocations: 3.938 kB / 0.5898 GB, free: 27.73 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.007261/0.3242, allocations: 2.655 MB / 0.5924 GB, free: 26.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3242, allocations: 9.094 kB / 0.5924 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.329, allocations: 0.8051 MB / 0.5932 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.3305, allocations: 0.8754 MB / 0.594 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.3308, allocations: 344.4 kB / 0.5944 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.331, allocations: 87.66 kB / 0.5945 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.3335, allocations: 1.36 MB / 0.5958 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.3335, allocations: 9.203 kB / 0.5958 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3336, allocations: 35.47 kB / 0.5958 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.3337, allocations: 24.7 kB / 0.5959 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.3362, allocations: 1.284 MB / 0.5971 GB, free: 24.58 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.006568/0.3428, allocations: 4.287 MB / 0.6013 GB, free: 22.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.3458, allocations: 1.877 MB / 0.6031 GB, free: 21.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.3476, allocations: 0.9261 MB / 0.604 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.3477, allocations: 21.69 kB / 0.604 GB, free: 20.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.3497, allocations: 1.037 MB / 0.6051 GB, free: 20.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.026e-06/0.3497, allocations: 0 / 0.6051 GB, free: 20.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03072/0.3804, allocations: 9.263 MB / 0.6141 GB, free: 18.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3805, allocations: 119.1 kB / 0.6142 GB, free: 18.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.3821, allocations: 1.035 MB / 0.6152 GB, free: 18.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.3823, allocations: 45.92 kB / 0.6153 GB, free: 18.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3827, allocations: 0.5278 MB / 0.6158 GB, free: 17.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.3831, allocations: 391.7 kB / 0.6162 GB, free: 17.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3832, allocations: 29.06 kB / 0.6162 GB, free: 17.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.3832, allocations: 353.4 kB / 0.6165 GB, free: 16.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.3849, allocations: 0.8606 MB / 0.6174 GB, free: 16.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.3867, allocations: 1.016 MB / 0.6184 GB, free: 16.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.3885, allocations: 0.9701 MB / 0.6193 GB, free: 15.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3886, allocations: 1.281 kB / 0.6193 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01269/0.4013, allocations: 5.409 MB / 0.6246 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.4013, allocations: 59.41 kB / 0.6247 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4014, allocations: 4 kB / 0.6247 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005801/0.4072, allocations: 2.163 MB / 0.6268 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4085, allocations: 279.6 kB / 0.627 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/0.4271, allocations: 9.724 MB / 0.6365 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4289, allocations: 246.8 kB / 0.6368 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.4292, allocations: 51.98 kB / 0.6368 GB, free: 13.71 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 exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-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 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007514/0.43, allocations: 309.1 kB / 0.6371 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.4303, allocations: 130.4 kB / 0.6372 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.4455, allocations: 5.322 MB / 0.6424 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4456, allocations: 23.92 kB / 0.6425 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4456, allocations: 3.953 kB / 0.6425 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.4456, allocations: 7.969 kB / 0.6425 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.4637, allocations: 7.196 MB / 0.6495 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4637, allocations: 7.953 kB / 0.6495 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.4645, allocations: 127.9 kB / 0.6496 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00673/0.4712, allocations: 2.211 MB / 0.6518 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.4715, allocations: 27.98 kB / 0.6518 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02268/0.4942, allocations: 10.64 MB / 0.6622 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4942, allocations: 0 / 0.6622 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/0.5116, allocations: 6.427 MB / 0.6685 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.5121, allocations: 223.2 kB / 0.6687 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/0.5125, allocations: 20 kB / 0.6687 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.5139, allocations: 183.8 kB / 0.6689 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007408/0.5146, allocations: 232.6 kB / 0.6691 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.5148, allocations: 31.98 kB / 0.6691 GB, free: 12.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.516, allocations: 0.6928 MB / 0.6698 GB, free: 11.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.516, allocations: 0 / 0.6698 GB, free: 11.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001655/0.5177, allocations: 495.4 kB / 0.6703 GB, free: 10.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000288/0.518, allocations: 132.6 kB / 0.6704 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007055/0.525, allocations: 3.028 MB / 0.6734 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.525, allocations: 0 / 0.6734 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004866/0.5299, allocations: 2.062 MB / 0.6754 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.5309, allocations: 124.7 kB / 0.6755 GB, free: 5.469 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.5357, allocations: 2.948 MB / 0.6784 GB, free: 2.496 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.5364, allocations: 1.148 MB / 0.6795 GB, free: 1.312 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.5369, allocations: 116.3 kB / 0.6796 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.5372, allocations: 71.42 kB / 0.6797 GB, free: 1.125 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5372, allocations: 0 / 0.6797 GB, free: 1.125 MB / 478.1 MB Notification: Performance of Templates: time 0.0372/0.5744, allocations: 23.79 MB / 0.7029 GB, free: 9.363 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)