Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.101/0.101, allocations: 12.21 MB / 27.48 MB, free: 0.9258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007455/0.0007456, allocations: 103.5 kB / 31 MB, free: 4.527 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 239.8 MB, free: 12.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 185.7 kB / 291 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.447/0.447, allocations: 78.53 MB / 420.5 MB, free: 48.96 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008793/0.0008794, allocations: 33.31 kB / 0.4901 GB, free: 2.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3576, allocations: 69.22 MB / 0.5577 GB, free: 42.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006429/0.3641, allocations: 6.535 MB / 0.5641 GB, free: 40.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.3687, allocations: 2.001 MB / 0.566 GB, free: 38.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.3701, allocations: 16.59 kB / 0.5661 GB, free: 38.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009517/0.3711, allocations: 192.3 kB / 0.5662 GB, free: 38.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.3738, allocations: 0.6852 MB / 0.5669 GB, free: 38.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.3757, allocations: 0.6266 MB / 0.5675 GB, free: 38.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.3781, allocations: 1.543 MB / 0.569 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.3788, allocations: 304 kB / 0.5693 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.38, allocations: 0.5822 MB / 0.5699 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.3813, allocations: 0.7334 MB / 0.5706 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.3816, allocations: 58.97 kB / 0.5707 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/0.3824, allocations: 187.9 kB / 0.5708 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.3828, allocations: 258.5 kB / 0.5711 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008532/0.3836, allocations: 0.6271 MB / 0.5717 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.3851, allocations: 1.582 MB / 0.5732 GB, free: 35.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3851, allocations: 0 / 0.5732 GB, free: 35.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3851, allocations: 0 / 0.5732 GB, free: 35.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.416e-05/0.3852, allocations: 0 / 0.5732 GB, free: 35.33 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008595/0.3938, allocations: 2.579 MB / 0.5758 GB, free: 34.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3938, allocations: 12.55 kB / 0.5758 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.3988, allocations: 0.7971 MB / 0.5765 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.4006, allocations: 0.8904 MB / 0.5774 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.4009, allocations: 265.9 kB / 0.5777 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.4012, allocations: 83.5 kB / 0.5777 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.4037, allocations: 1.241 MB / 0.579 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4038, allocations: 4 kB / 0.579 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4039, allocations: 33.25 kB / 0.579 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.4039, allocations: 19.53 kB / 0.579 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.4061, allocations: 1.147 MB / 0.5801 GB, free: 32.33 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.005869/0.412, allocations: 3.738 MB / 0.5838 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.4142, allocations: 1.618 MB / 0.5854 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.4157, allocations: 0.849 MB / 0.5862 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.4158, allocations: 23.44 kB / 0.5862 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.4175, allocations: 0.9538 MB / 0.5871 GB, free: 28.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.075e-06/0.4175, allocations: 0 / 0.5871 GB, free: 28.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02951/0.447, allocations: 8.527 MB / 0.5955 GB, free: 26.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.4471, allocations: 118.9 kB / 0.5956 GB, free: 26.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.4496, allocations: 1.034 MB / 0.5966 GB, free: 26.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.4499, allocations: 41.83 kB / 0.5966 GB, free: 26.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.4503, allocations: 0.5039 MB / 0.5971 GB, free: 25.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.4509, allocations: 373.9 kB / 0.5975 GB, free: 25.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.4512, allocations: 124.7 kB / 0.5976 GB, free: 25.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4513, allocations: 358.3 kB / 0.5979 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4534, allocations: 0.8305 MB / 0.5988 GB, free: 24.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.4556, allocations: 0.9822 MB / 0.5997 GB, free: 24.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02402/0.4796, allocations: 5.906 MB / 0.6055 GB, free: 22.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.4797, allocations: 0 / 0.6055 GB, free: 22.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01694/0.4966, allocations: 5.414 MB / 0.6108 GB, free: 20.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.4967, allocations: 62.64 kB / 0.6108 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4968, allocations: 2.688 kB / 0.6108 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007366/0.5041, allocations: 2.174 MB / 0.613 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.5055, allocations: 247.7 kB / 0.6132 GB, free: 18.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/0.5261, allocations: 9.717 MB / 0.6227 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.5283, allocations: 234.8 kB / 0.6229 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/0.5285, allocations: 51.98 kB / 0.623 GB, free: 8.699 MB / 430.1 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 order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007324/0.5293, allocations: 284.4 kB / 0.6232 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.5296, allocations: 126.4 kB / 0.6233 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.5439, allocations: 5.117 MB / 0.6283 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.5439, allocations: 12 kB / 0.6284 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.544, allocations: 0 / 0.6284 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.544, allocations: 3.984 kB / 0.6284 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.5621, allocations: 6.875 MB / 0.6351 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.5621, allocations: 3.938 kB / 0.6351 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.563, allocations: 115.8 kB / 0.6352 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007337/0.5703, allocations: 2.141 MB / 0.6373 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003582/0.5707, allocations: 27.98 kB / 0.6373 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/0.5943, allocations: 10.27 MB / 0.6473 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.5943, allocations: 7.984 kB / 0.6473 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/0.6122, allocations: 6.118 MB / 0.6533 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.6128, allocations: 219.3 kB / 0.6535 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.613, allocations: 19.98 kB / 0.6536 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6143, allocations: 155.9 kB / 0.6537 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.615, allocations: 208.6 kB / 0.6539 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.6151, allocations: 24 kB / 0.6539 GB, free: 8.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.6161, allocations: 0.6993 MB / 0.6546 GB, free: 7.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.6161, allocations: 96 / 0.6546 GB, free: 7.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001359/0.6175, allocations: 495.4 kB / 0.6551 GB, free: 7.273 MB / 462.1 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 (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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.6178, allocations: 127.8 kB / 0.6552 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00793/0.6257, allocations: 2.94 MB / 0.6581 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6257, allocations: 0 / 0.6581 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005617/0.6314, allocations: 1.981 MB / 0.66 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.6328, allocations: 115.4 kB / 0.6601 GB, free: 2.031 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.6372, allocations: 2.893 MB / 0.6629 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.6379, allocations: 1.132 MB / 0.664 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004194/0.6383, allocations: 107.9 kB / 0.6641 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.6385, allocations: 71.42 kB / 0.6642 GB, free: 13.77 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6385, allocations: 0 / 0.6642 GB, free: 13.77 MB / 478.1 MB Notification: Performance of Templates: time 0.03574/0.6743, allocations: 23.34 MB / 0.687 GB, free: 6.449 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) Environment - environmentSimulation: