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.001067/0.001068, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.439/1.439, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.000994/0.0009939, allocations: 188.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5423/0.5423, allocations: 91.92 MB / 433.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 8 kB / 0.5048 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4028, allocations: 72.47 MB / 0.5755 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005313/0.4082, allocations: 6.889 MB / 0.5823 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.4122, allocations: 2.158 MB / 0.5844 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.413, allocations: 17.62 kB / 0.5844 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.4137, allocations: 193.7 kB / 0.5846 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.4154, allocations: 0.6764 MB / 0.5852 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.4167, allocations: 0.6975 MB / 0.5859 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.418, allocations: 1.627 MB / 0.5875 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.4185, allocations: 363.3 kB / 0.5878 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.4192, allocations: 0.6028 MB / 0.5884 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.4198, allocations: 0.7481 MB / 0.5892 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.4199, allocations: 61.91 kB / 0.5892 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.4204, allocations: 190.4 kB / 0.5894 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.4206, allocations: 261 kB / 0.5897 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.421, allocations: 0.6608 MB / 0.5903 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.4224, allocations: 1.687 MB / 0.5919 GB, free: 26.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4224, allocations: 1 kB / 0.5919 GB, free: 26.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4224, allocations: 3.938 kB / 0.592 GB, free: 26.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.4225, allocations: 4 kB / 0.592 GB, free: 26.87 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.008162/0.4306, allocations: 2.646 MB / 0.5945 GB, free: 25.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4307, allocations: 9.062 kB / 0.5945 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/0.4358, allocations: 0.8039 MB / 0.5953 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.4374, allocations: 0.9163 MB / 0.5962 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.4378, allocations: 340.8 kB / 0.5966 GB, free: 24.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.438, allocations: 88.84 kB / 0.5966 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.4406, allocations: 1.373 MB / 0.598 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.4406, allocations: 0 / 0.598 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.4408, allocations: 35.69 kB / 0.598 GB, free: 24.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.4408, allocations: 24.44 kB / 0.598 GB, free: 24.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.4435, allocations: 1.292 MB / 0.5993 GB, free: 23.67 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.00787/0.4514, allocations: 4.294 MB / 0.6035 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.4549, allocations: 1.875 MB / 0.6053 GB, free: 20.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.4569, allocations: 0.9342 MB / 0.6062 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.457, allocations: 25.77 kB / 0.6063 GB, free: 19.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.4593, allocations: 1.041 MB / 0.6073 GB, free: 19.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.717e-06/0.4593, allocations: 0 / 0.6073 GB, free: 19.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03593/0.4952, allocations: 9.306 MB / 0.6164 GB, free: 17.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.4953, allocations: 123.6 kB / 0.6165 GB, free: 17.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.497, allocations: 1.042 MB / 0.6175 GB, free: 17.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.4973, allocations: 46.3 kB / 0.6175 GB, free: 17.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.4977, allocations: 0.5245 MB / 0.6181 GB, free: 16.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.498, allocations: 391.2 kB / 0.6184 GB, free: 16.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4982, allocations: 123.6 kB / 0.6185 GB, free: 16.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.4983, allocations: 362.2 kB / 0.6189 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.5001, allocations: 0.865 MB / 0.6197 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.5021, allocations: 1.018 MB / 0.6207 GB, free: 14.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0211/0.5232, allocations: 6.011 MB / 0.6266 GB, free: 8.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.5233, allocations: 3.938 kB / 0.6266 GB, free: 8.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01404/0.5373, allocations: 5.37 MB / 0.6318 GB, free: 3.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.5374, allocations: 63.39 kB / 0.6319 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5374, allocations: 4 kB / 0.6319 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/0.5434, allocations: 2.046 MB / 0.6339 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.545, allocations: 291.6 kB / 0.6342 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.5665, allocations: 9.316 MB / 0.6433 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.5689, allocations: 250.8 kB / 0.6435 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.5691, allocations: 59.91 kB / 0.6436 GB, free: 7.215 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.0007979/0.5699, allocations: 307.6 kB / 0.6439 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.5702, allocations: 134.4 kB / 0.644 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/0.5869, allocations: 5.334 MB / 0.6492 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.587, allocations: 12 kB / 0.6492 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.587, allocations: 0 / 0.6492 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/0.587, allocations: 7.969 kB / 0.6492 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.6064, allocations: 7.201 MB / 0.6563 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.6064, allocations: 0 / 0.6563 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009641/0.6074, allocations: 135.9 kB / 0.6564 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007462/0.6149, allocations: 2.219 MB / 0.6586 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/0.6152, allocations: 23.98 kB / 0.6586 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/0.6401, allocations: 10.65 MB / 0.669 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6402, allocations: 0 / 0.669 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/0.6598, allocations: 6.439 MB / 0.6753 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006887/0.6606, allocations: 223.2 kB / 0.6755 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.6608, allocations: 31.92 kB / 0.6755 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.6623, allocations: 175.8 kB / 0.6757 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007683/0.663, allocations: 236.6 kB / 0.6759 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.6631, allocations: 27.98 kB / 0.6759 GB, free: 5.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.6642, allocations: 0.7084 MB / 0.6766 GB, free: 4.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6642, allocations: 0 / 0.6766 GB, free: 4.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001508/0.6657, allocations: 487.4 kB / 0.6771 GB, free: 4.367 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.0002906/0.666, allocations: 132.9 kB / 0.6772 GB, free: 4.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007756/0.6738, allocations: 3.005 MB / 0.6802 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6738, allocations: 4 kB / 0.6802 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005796/0.6796, allocations: 2.077 MB / 0.6822 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.6811, allocations: 123 kB / 0.6823 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.6863, allocations: 3.063 MB / 0.6853 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.687, allocations: 1.159 MB / 0.6864 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004872/0.6875, allocations: 108.3 kB / 0.6865 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.6878, allocations: 83.34 kB / 0.6866 GB, free: 10.47 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6878, allocations: 0 / 0.6866 GB, free: 10.47 MB / 494.1 MB Notification: Performance of Templates: time 0.04226/0.7301, allocations: 24.09 MB / 0.7101 GB, free: 2.41 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)