Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004766/0.004767, allocations: 170.4 kB / 15.12 MB, free: 5.559 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.262/1.262, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008421/0.0008421, allocations: 101.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4765/0.4765, allocations: 78.58 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005637, allocations: 16 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3346, allocations: 69.34 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004912/0.3395, allocations: 5.79 MB / 0.5614 GB, free: 37.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.3429, allocations: 2.001 MB / 0.5634 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.3434, allocations: 13.41 kB / 0.5634 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.344, allocations: 175.3 kB / 0.5636 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.3455, allocations: 0.6907 MB / 0.5642 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3468, allocations: 0.5515 MB / 0.5648 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.348, allocations: 1.012 MB / 0.5658 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.3484, allocations: 283.6 kB / 0.566 GB, free: 34.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.3491, allocations: 0.5711 MB / 0.5666 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/0.3498, allocations: 0.6967 MB / 0.5673 GB, free: 34.31 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.3499, allocations: 59.56 kB / 0.5673 GB, free: 34.31 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.3503, allocations: 177.7 kB / 0.5675 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3505, allocations: 245.1 kB / 0.5677 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3507, allocations: 229.9 kB / 0.568 GB, free: 33.99 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.3516, allocations: 1.207 MB / 0.5691 GB, free: 33.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.3516, allocations: 0 / 0.5691 GB, free: 33.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3516, allocations: 3 kB / 0.5691 GB, free: 33.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3516, allocations: 0 / 0.5691 GB, free: 33.63 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007916/0.3596, allocations: 2.601 MB / 0.5717 GB, free: 32.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3596, allocations: 8.688 kB / 0.5717 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/0.3644, allocations: 0.7935 MB / 0.5725 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.3659, allocations: 0.8485 MB / 0.5733 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.3662, allocations: 253.4 kB / 0.5735 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3663, allocations: 88.8 kB / 0.5736 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.3685, allocations: 1.229 MB / 0.5748 GB, free: 31.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3685, allocations: 0 / 0.5748 GB, free: 31.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3686, allocations: 30 kB / 0.5748 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3686, allocations: 24.86 kB / 0.5749 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.3707, allocations: 1.144 MB / 0.576 GB, free: 30.68 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.005533/0.3762, allocations: 3.846 MB / 0.5797 GB, free: 28.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.3784, allocations: 1.619 MB / 0.5813 GB, free: 27.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.3785, allocations: 16.64 kB / 0.5813 GB, free: 27.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.3801, allocations: 0.9552 MB / 0.5823 GB, free: 27.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.986e-06/0.3801, allocations: 0 / 0.5823 GB, free: 27.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02697/0.4071, allocations: 8.48 MB / 0.5905 GB, free: 25.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4072, allocations: 114.2 kB / 0.5907 GB, free: 25.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.409, allocations: 1.03 MB / 0.5917 GB, free: 24.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.4093, allocations: 45.8 kB / 0.5917 GB, free: 24.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.4097, allocations: 0.4999 MB / 0.5922 GB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.4101, allocations: 377.7 kB / 0.5926 GB, free: 24.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.4102, allocations: 25 kB / 0.5926 GB, free: 24.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.4102, allocations: 359 kB / 0.5929 GB, free: 23.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.412, allocations: 0.8221 MB / 0.5937 GB, free: 23.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4137, allocations: 0.9669 MB / 0.5947 GB, free: 23.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.4155, allocations: 0.9421 MB / 0.5956 GB, free: 22.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4155, allocations: 1.344 kB / 0.5956 GB, free: 22.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0163/0.4318, allocations: 5.384 MB / 0.6008 GB, free: 21.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.4319, allocations: 63.3 kB / 0.6009 GB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4319, allocations: 10.11 kB / 0.6009 GB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008326/0.4402, allocations: 2.222 MB / 0.6031 GB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.4418, allocations: 252.2 kB / 0.6033 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/0.4654, allocations: 10.39 MB / 0.6135 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.4676, allocations: 234.8 kB / 0.6137 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4677, allocations: 43.98 kB / 0.6137 GB, free: 14.44 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006153/0.4683, allocations: 288.4 kB / 0.614 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.4686, allocations: 130.4 kB / 0.6141 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.4821, allocations: 5.098 MB / 0.6191 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.4822, allocations: 12 kB / 0.6191 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4822, allocations: 0 / 0.6191 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.4822, allocations: 3.984 kB / 0.6191 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.4977, allocations: 6.929 MB / 0.6259 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.4977, allocations: 0 / 0.6259 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.4985, allocations: 103.9 kB / 0.626 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/0.505, allocations: 2.144 MB / 0.6281 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000291/0.5054, allocations: 20 kB / 0.6281 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.5286, allocations: 10.76 MB / 0.6386 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5287, allocations: 8.234 kB / 0.6386 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.5467, allocations: 6.114 MB / 0.6446 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/0.5473, allocations: 219.3 kB / 0.6448 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.5475, allocations: 20 kB / 0.6448 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.5488, allocations: 151.9 kB / 0.645 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005923/0.5494, allocations: 208.6 kB / 0.6452 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.5495, allocations: 35.92 kB / 0.6452 GB, free: 13.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.5505, allocations: 0.6915 MB / 0.6459 GB, free: 12.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5505, allocations: 4 kB / 0.6459 GB, free: 12.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001456/0.552, allocations: 479.5 kB / 0.6463 GB, free: 12.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * 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 (64): * Single equations (assignments): 61 * 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 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002932/0.5523, allocations: 143.1 kB / 0.6465 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007415/0.5597, allocations: 2.938 MB / 0.6493 GB, free: 9.387 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5597, allocations: 0 / 0.6493 GB, free: 9.387 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005177/0.5649, allocations: 1.976 MB / 0.6513 GB, free: 7.363 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.5657, allocations: 96.56 kB / 0.6514 GB, free: 7.266 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.5698, allocations: 2.803 MB / 0.6541 GB, free: 4.445 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.5705, allocations: 1.151 MB / 0.6552 GB, free: 3.258 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.5709, allocations: 107.9 kB / 0.6553 GB, free: 3.148 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.5712, allocations: 67.42 kB / 0.6554 GB, free: 3.086 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5712, allocations: 0 / 0.6554 GB, free: 3.086 MB / 458.7 MB Notification: Performance of Templates: time 0.03352/0.6047, allocations: 22.88 MB / 0.6777 GB, free: 12.24 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)