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.0008284/0.0008284, allocations: 180.4 kB / 15.45 MB, free: 6.227 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.22/1.22, allocations: 223.3 MB / 239.5 MB, free: 1.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007285/0.0007285, allocations: 97.78 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4295/0.4295, allocations: 78.61 MB / 420.4 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 16 kB / 0.4888 GB, free: 2.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 69.35 MB / 0.5565 GB, free: 39.1 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006051/0.3285, allocations: 6.853 MB / 0.5632 GB, free: 36 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.3332, allocations: 2.143 MB / 0.5653 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.3345, allocations: 17.34 kB / 0.5653 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.3352, allocations: 200 kB / 0.5655 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.3373, allocations: 0.679 MB / 0.5662 GB, free: 34.77 MB / 426.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.001685/0.339, allocations: 0.6995 MB / 0.5669 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.3408, allocations: 1.637 MB / 0.5684 GB, free: 33.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.3413, allocations: 358.2 kB / 0.5688 GB, free: 33.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007608/0.342, allocations: 0.6046 MB / 0.5694 GB, free: 33.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.3426, allocations: 0.752 MB / 0.5701 GB, free: 32.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3428, allocations: 59.88 kB / 0.5702 GB, free: 32.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.3432, allocations: 195.5 kB / 0.5704 GB, free: 32.9 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3434, allocations: 265.6 kB / 0.5706 GB, free: 32.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.3438, allocations: 0.6579 MB / 0.5713 GB, free: 32.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3449, allocations: 1.694 MB / 0.5729 GB, free: 31.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3449, allocations: 2.906 kB / 0.5729 GB, free: 31.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3449, allocations: 0 / 0.5729 GB, free: 31.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3449, allocations: 0 / 0.5729 GB, free: 31.68 MB / 426.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.007422/0.3524, allocations: 2.638 MB / 0.5755 GB, free: 30.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3524, allocations: 11.06 kB / 0.5755 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/0.3571, allocations: 0.8053 MB / 0.5763 GB, free: 30.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3585, allocations: 0.9267 MB / 0.5772 GB, free: 29.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.3588, allocations: 341.2 kB / 0.5775 GB, free: 29.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.359, allocations: 94.19 kB / 0.5776 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.3613, allocations: 1.365 MB / 0.5789 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3613, allocations: 6.531 kB / 0.5789 GB, free: 28.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/0.3614, allocations: 36.81 kB / 0.579 GB, free: 28.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.3614, allocations: 21.28 kB / 0.579 GB, free: 28.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.3637, allocations: 1.294 MB / 0.5803 GB, free: 28.47 MB / 426.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.005574/0.3692, allocations: 4.257 MB / 0.5844 GB, free: 26.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.372, allocations: 1.878 MB / 0.5863 GB, free: 25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.3735, allocations: 0.9364 MB / 0.5872 GB, free: 24.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3736, allocations: 21.02 kB / 0.5872 GB, free: 24.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.3752, allocations: 1.036 MB / 0.5882 GB, free: 24.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 3.527e-06/0.3752, allocations: 0 / 0.5882 GB, free: 24.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.0305/0.4058, allocations: 9.474 MB / 0.5975 GB, free: 22.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.4059, allocations: 122.6 kB / 0.5976 GB, free: 22.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.4077, allocations: 1.039 MB / 0.5986 GB, free: 21.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002682/0.408, allocations: 47.12 kB / 0.5986 GB, free: 21.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.4084, allocations: 0.5228 MB / 0.5991 GB, free: 21.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.4089, allocations: 392.8 kB / 0.5995 GB, free: 21.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.4092, allocations: 125.1 kB / 0.5996 GB, free: 21.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.4093, allocations: 362.6 kB / 0.6 GB, free: 20.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.4113, allocations: 0.8617 MB / 0.6008 GB, free: 20.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.4133, allocations: 1.028 MB / 0.6018 GB, free: 20.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/0.4356, allocations: 6.022 MB / 0.6077 GB, free: 18.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.4356, allocations: 5 kB / 0.6077 GB, free: 18.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01649/0.4521, allocations: 5.376 MB / 0.613 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/0.4523, allocations: 63.39 kB / 0.613 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.4523, allocations: 4 kB / 0.613 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009111/0.4614, allocations: 2.045 MB / 0.615 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.4631, allocations: 287.6 kB / 0.6153 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.4815, allocations: 9.319 MB / 0.6244 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.4832, allocations: 254.8 kB / 0.6246 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.4834, allocations: 47.97 kB / 0.6247 GB, free: 3.711 MB / 426.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.000514/0.4839, allocations: 307.7 kB / 0.625 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.484, allocations: 126.4 kB / 0.6251 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.4976, allocations: 5.33 MB / 0.6303 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4976, allocations: 12 kB / 0.6303 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4977, allocations: 4 kB / 0.6303 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.4977, allocations: 7.969 kB / 0.6303 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.515, allocations: 7.197 MB / 0.6374 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.515, allocations: 3.938 kB / 0.6374 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.5158, allocations: 135.8 kB / 0.6375 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006563/0.5224, allocations: 2.215 MB / 0.6397 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.5226, allocations: 24 kB / 0.6397 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02187/0.5445, allocations: 10.66 MB / 0.6501 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.5446, allocations: 3.938 kB / 0.6501 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.5628, allocations: 6.431 MB / 0.6564 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.5634, allocations: 223.2 kB / 0.6566 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/0.5638, allocations: 23.94 kB / 0.6566 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.5653, allocations: 179.8 kB / 0.6568 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000801/0.5662, allocations: 228.6 kB / 0.657 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.5663, allocations: 31.98 kB / 0.657 GB, free: 2.062 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001286/0.5676, allocations: 0.7084 MB / 0.6577 GB, free: 1.348 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5676, allocations: 0 / 0.6577 GB, free: 1.348 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001676/0.5693, allocations: 487.4 kB / 0.6582 GB, free: 0.8711 MB / 458.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.0002826/0.5696, allocations: 140.9 kB / 0.6583 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007043/0.5766, allocations: 3.012 MB / 0.6613 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5767, allocations: 0 / 0.6613 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004969/0.5816, allocations: 2.062 MB / 0.6633 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5827, allocations: 124.1 kB / 0.6634 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.5873, allocations: 3.083 MB / 0.6664 GB, free: 8.352 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.588, allocations: 1.148 MB / 0.6675 GB, free: 7.168 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005023/0.5885, allocations: 120.3 kB / 0.6676 GB, free: 7.047 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.5888, allocations: 71.42 kB / 0.6677 GB, free: 6.977 MB / 474.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5888, allocations: 7.938 kB / 0.6677 GB, free: 6.969 MB / 474.7 MB Notification: Performance of Templates: time 0.03699/0.6258, allocations: 24.09 MB / 0.6912 GB, free: 14.9 MB / 0.4948 GB 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)