Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 171.6 kB / 16.1 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 92.19 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4808/0.4808, allocations: 78.61 MB / 421 MB, free: 9.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004149, allocations: 12.28 kB / 0.4894 GB, free: 9.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 69.36 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005041/0.3744, allocations: 6.852 MB / 0.5638 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.3782, allocations: 2.137 MB / 0.5659 GB, free: 9.781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.3789, allocations: 15.94 kB / 0.5659 GB, free: 9.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.3795, allocations: 198.7 kB / 0.5661 GB, free: 9.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.381, allocations: 0.6762 MB / 0.5668 GB, free: 8.891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3823, allocations: 0.6998 MB / 0.5675 GB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3834, allocations: 1.631 MB / 0.5691 GB, free: 6.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.3838, allocations: 361.1 kB / 0.5694 GB, free: 6.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.3844, allocations: 0.6064 MB / 0.57 GB, free: 5.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.385, allocations: 0.7502 MB / 0.5707 GB, free: 4.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.3851, allocations: 60 kB / 0.5708 GB, free: 4.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.3855, allocations: 191.8 kB / 0.571 GB, free: 4.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.3857, allocations: 270.6 kB / 0.5712 GB, free: 4.312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.3861, allocations: 0.6576 MB / 0.5719 GB, free: 3.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.387, allocations: 1.336 MB / 0.5732 GB, free: 2.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3871, allocations: 0 / 0.5732 GB, free: 2.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3871, allocations: 0 / 0.5732 GB, free: 2.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.3871, allocations: 4 kB / 0.5732 GB, free: 2.301 MB / 378.7 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.007347/0.3944, allocations: 2.638 MB / 0.5758 GB, free: 15.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3945, allocations: 8.031 kB / 0.5758 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/0.3993, allocations: 0.8098 MB / 0.5766 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.401, allocations: 0.9254 MB / 0.5775 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.4014, allocations: 335.6 kB / 0.5778 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.4016, allocations: 92 kB / 0.5779 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.4043, allocations: 1.373 MB / 0.5792 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4043, allocations: 3.938 kB / 0.5792 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.4044, allocations: 40 kB / 0.5793 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4044, allocations: 20 kB / 0.5793 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.4072, allocations: 1.292 MB / 0.5805 GB, free: 10.58 MB / 394.7 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.006997/0.4142, allocations: 4.265 MB / 0.5847 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.4176, allocations: 1.884 MB / 0.5865 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.4194, allocations: 0.9421 MB / 0.5875 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.4196, allocations: 9 kB / 0.5875 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002/0.4216, allocations: 1.044 MB / 0.5885 GB, free: 2.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 3.176e-06/0.4216, allocations: 7.938 kB / 0.5885 GB, free: 2.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.03323/0.4548, allocations: 9.467 MB / 0.5977 GB, free: 8.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.4549, allocations: 119.8 kB / 0.5979 GB, free: 8.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.4566, allocations: 1.041 MB / 0.5989 GB, free: 7.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.4569, allocations: 45.7 kB / 0.5989 GB, free: 7.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.4573, allocations: 0.5246 MB / 0.5994 GB, free: 6.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.4577, allocations: 390.4 kB / 0.5998 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.4579, allocations: 129.6 kB / 0.5999 GB, free: 6.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4581, allocations: 349.9 kB / 0.6003 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.4599, allocations: 0.8668 MB / 0.6011 GB, free: 5.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.4618, allocations: 1.026 MB / 0.6021 GB, free: 4.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02164/0.4835, allocations: 6.02 MB / 0.608 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4835, allocations: 7.938 kB / 0.608 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01496/0.4985, allocations: 5.377 MB / 0.6132 GB, free: 8.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.4986, allocations: 57.75 kB / 0.6133 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4986, allocations: 7.984 kB / 0.6133 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006242/0.5049, allocations: 2.038 MB / 0.6153 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.5063, allocations: 291.6 kB / 0.6156 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.5265, allocations: 9.314 MB / 0.6247 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5284, allocations: 258.8 kB / 0.6249 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.5285, allocations: 51.97 kB / 0.625 GB, free: 12.32 MB / 442.7 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.0006462/0.5292, allocations: 295.7 kB / 0.6253 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.5294, allocations: 126.4 kB / 0.6254 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/0.5449, allocations: 5.338 MB / 0.6306 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.545, allocations: 15.98 kB / 0.6306 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.545, allocations: 4 kB / 0.6306 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.545, allocations: 7.969 kB / 0.6306 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.5632, allocations: 7.201 MB / 0.6376 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.5632, allocations: 4 kB / 0.6376 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.5639, allocations: 135.8 kB / 0.6378 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006698/0.5706, allocations: 2.215 MB / 0.6399 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.5708, allocations: 24 kB / 0.64 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0226/0.5934, allocations: 10.65 MB / 0.6504 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5935, allocations: 8 kB / 0.6504 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.6113, allocations: 6.447 MB / 0.6567 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.6119, allocations: 223.2 kB / 0.6569 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.6121, allocations: 19.94 kB / 0.6569 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.6134, allocations: 179.8 kB / 0.6571 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007738/0.6142, allocations: 232.6 kB / 0.6573 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6143, allocations: 31.98 kB / 0.6573 GB, free: 10.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.6154, allocations: 0.7045 MB / 0.658 GB, free: 9.949 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6155, allocations: 0 / 0.658 GB, free: 9.949 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001488/0.617, allocations: 483.4 kB / 0.6585 GB, free: 9.477 MB / 474.7 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.0003106/0.6173, allocations: 140.1 kB / 0.6586 GB, free: 9.332 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00718/0.6245, allocations: 3.005 MB / 0.6615 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6245, allocations: 0 / 0.6615 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005156/0.6296, allocations: 2.067 MB / 0.6636 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6307, allocations: 125.5 kB / 0.6637 GB, free: 4.059 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.6358, allocations: 3.108 MB / 0.6667 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.6366, allocations: 1.159 MB / 0.6678 GB, free: 15.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.637, allocations: 79.41 kB / 0.6679 GB, free: 15.64 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.637, allocations: 3.938 kB / 0.6679 GB, free: 15.64 MB / 490.7 MB Notification: Performance of Templates: time 0.3177/0.9547, allocations: 25.14 MB / 0.6925 GB, free: 115.1 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)