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.07789/0.07789, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001014/0.001015, allocations: 119.4 kB / 30.95 MB, free: 4.664 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.293/1.293, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001403/0.001403, allocations: 180.5 kB / 289.6 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4343/0.4343, allocations: 78.49 MB / 418.1 MB, free: 31.76 MB / 318.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.004226/0.004226, allocations: 129 kB / 498.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3149, allocations: 68.04 MB / 0.5532 GB, free: 37.83 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005781/0.3208, allocations: 7.004 MB / 0.56 GB, free: 32.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.324, allocations: 2.026 MB / 0.562 GB, free: 31.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.3247, allocations: 15.06 kB / 0.562 GB, free: 31.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.3254, allocations: 194.4 kB / 0.5622 GB, free: 31.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.3271, allocations: 0.6752 MB / 0.5628 GB, free: 30.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3282, allocations: 0.6206 MB / 0.5634 GB, free: 30.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3294, allocations: 1.627 MB / 0.565 GB, free: 29.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.3298, allocations: 349.9 kB / 0.5654 GB, free: 29.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006666/0.3305, allocations: 0.6692 MB / 0.566 GB, free: 29.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006374/0.3311, allocations: 0.824 MB / 0.5668 GB, free: 28.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.3313, allocations: 122.6 kB / 0.5669 GB, free: 28.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.3317, allocations: 256.7 kB / 0.5672 GB, free: 28.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.3319, allocations: 331.3 kB / 0.5675 GB, free: 28.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.3323, allocations: 0.6825 MB / 0.5682 GB, free: 27.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3335, allocations: 1.673 MB / 0.5698 GB, free: 27.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3335, allocations: 0 / 0.5698 GB, free: 27.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3335, allocations: 0 / 0.5698 GB, free: 27.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3335, allocations: 0 / 0.5698 GB, free: 27.21 MB / 414.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.00826/0.3418, allocations: 2.771 MB / 0.5725 GB, free: 25.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3418, allocations: 14.58 kB / 0.5725 GB, free: 25.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.3466, allocations: 0.7784 MB / 0.5733 GB, free: 25.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3479, allocations: 0.8925 MB / 0.5742 GB, free: 25.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.3482, allocations: 256.3 kB / 0.5744 GB, free: 24.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.3483, allocations: 82.06 kB / 0.5745 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.3504, allocations: 1.175 MB / 0.5756 GB, free: 24.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3504, allocations: 4 kB / 0.5756 GB, free: 24.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/0.3505, allocations: 32.66 kB / 0.5757 GB, free: 24.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3506, allocations: 19.03 kB / 0.5757 GB, free: 24.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.3528, allocations: 1.073 MB / 0.5767 GB, free: 24.07 MB / 414.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.006332/0.3591, allocations: 3.677 MB / 0.5803 GB, free: 22.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.3616, allocations: 1.552 MB / 0.5818 GB, free: 21.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.3631, allocations: 0.7886 MB / 0.5826 GB, free: 20.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3633, allocations: 17.39 kB / 0.5826 GB, free: 20.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.365, allocations: 0.8937 MB / 0.5835 GB, free: 20.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 2.735e-06/0.365, allocations: 0 / 0.5835 GB, free: 20.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.02702/0.392, allocations: 6.963 MB / 0.5903 GB, free: 17.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.3921, allocations: 118.5 kB / 0.5904 GB, free: 17.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.3937, allocations: 1.032 MB / 0.5914 GB, free: 17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.394, allocations: 51.08 kB / 0.5915 GB, free: 16.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.3943, allocations: 0.5 MB / 0.592 GB, free: 16.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.3946, allocations: 373.2 kB / 0.5923 GB, free: 16.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/0.395, allocations: 244.9 kB / 0.5925 GB, free: 16.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.3951, allocations: 353.7 kB / 0.5929 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.3967, allocations: 0.7641 MB / 0.5936 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.3983, allocations: 0.9102 MB / 0.5945 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02024/0.4186, allocations: 5.441 MB / 0.5998 GB, free: 10.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.4186, allocations: 0 / 0.5998 GB, free: 10.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01265/0.4313, allocations: 4.51 MB / 0.6042 GB, free: 5.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.4314, allocations: 67.39 kB / 0.6043 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4314, allocations: 4 kB / 0.6043 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006105/0.4375, allocations: 1.858 MB / 0.6061 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4388, allocations: 247.7 kB / 0.6064 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.4589, allocations: 9.475 MB / 0.6156 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.4609, allocations: 190.8 kB / 0.6158 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.4611, allocations: 47.98 kB / 0.6158 GB, free: 9.938 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.000588/0.4617, allocations: 302.8 kB / 0.6161 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.4619, allocations: 122.5 kB / 0.6162 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.4751, allocations: 4.193 MB / 0.6203 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.4752, allocations: 16 kB / 0.6203 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4752, allocations: 0 / 0.6203 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.4752, allocations: 7.922 kB / 0.6204 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.4908, allocations: 5.968 MB / 0.6262 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4908, allocations: 0 / 0.6262 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.4916, allocations: 103.8 kB / 0.6263 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/0.4975, allocations: 1.836 MB / 0.6281 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.4977, allocations: 23.98 kB / 0.6281 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/0.518, allocations: 10.32 MB / 0.6382 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.518, allocations: 4 kB / 0.6382 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.5329, allocations: 5.134 MB / 0.6432 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.5333, allocations: 219.3 kB / 0.6434 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.5335, allocations: 23.94 kB / 0.6434 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5347, allocations: 111.9 kB / 0.6435 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/0.5354, allocations: 216.7 kB / 0.6437 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.5354, allocations: 27.98 kB / 0.6438 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009755/0.5364, allocations: 0.6993 MB / 0.6445 GB, free: 12.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5364, allocations: 0 / 0.6445 GB, free: 12.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001238/0.5377, allocations: 491.4 kB / 0.6449 GB, free: 11.61 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.0002543/0.5379, allocations: 133.5 kB / 0.645 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007137/0.5451, allocations: 2.717 MB / 0.6477 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5451, allocations: 0.5625 kB / 0.6477 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00466/0.5498, allocations: 1.802 MB / 0.6495 GB, free: 6.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.5508, allocations: 116.4 kB / 0.6496 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.5548, allocations: 2.802 MB / 0.6523 GB, free: 3.926 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.5554, allocations: 1.135 MB / 0.6534 GB, free: 2.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.5558, allocations: 107.9 kB / 0.6535 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.5561, allocations: 75.42 kB / 0.6536 GB, free: 2.574 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5561, allocations: 0 / 0.6536 GB, free: 2.574 MB / 462.1 MB Notification: Performance of Templates: time 0.03227/0.5883, allocations: 25.33 MB / 0.6783 GB, free: 9.254 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (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)