Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001148/0.001148, allocations: 183.4 kB / 15.98 MB, free: 5.77 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.244/1.244, allocations: 222.9 MB / 239.6 MB, free: 11.02 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.0009435/0.0009434, allocations: 105.6 kB / 289.9 MB, free: 10.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.4792/0.4792, allocations: 78.48 MB / 418.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.91 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 68.13 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005059/0.3339, allocations: 6.946 MB / 0.5591 GB, free: 13.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.3372, allocations: 2.079 MB / 0.5611 GB, free: 11.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.3376, allocations: 12 kB / 0.5611 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.3382, allocations: 182.8 kB / 0.5613 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.3395, allocations: 0.6888 MB / 0.562 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3405, allocations: 0.6298 MB / 0.5626 GB, free: 9.668 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3416, allocations: 1.561 MB / 0.5641 GB, free: 8.102 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.342, allocations: 315.6 kB / 0.5644 GB, free: 7.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.3425, allocations: 0.6144 MB / 0.565 GB, free: 7.168 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.3432, allocations: 0.766 MB / 0.5658 GB, free: 6.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3434, allocations: 76 kB / 0.5658 GB, free: 6.324 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3438, allocations: 207.8 kB / 0.566 GB, free: 6.121 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.3441, allocations: 270.7 kB / 0.5663 GB, free: 5.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.3445, allocations: 0.6288 MB / 0.5669 GB, free: 5.223 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009216/0.3454, allocations: 1.631 MB / 0.5685 GB, free: 3.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3455, allocations: 0 / 0.5685 GB, free: 3.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3455, allocations: 3.938 kB / 0.5685 GB, free: 3.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3455, allocations: 0 / 0.5685 GB, free: 3.582 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007914/0.3534, allocations: 2.757 MB / 0.5712 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.3534, allocations: 12.03 kB / 0.5712 GB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.358, allocations: 0.7826 MB / 0.572 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.3594, allocations: 0.886 MB / 0.5728 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.3597, allocations: 260.1 kB / 0.5731 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3598, allocations: 91.89 kB / 0.5732 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.3621, allocations: 1.176 MB / 0.5743 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3622, allocations: 0 / 0.5743 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.555e-05/0.3623, allocations: 32 kB / 0.5744 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.3623, allocations: 16 kB / 0.5744 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.3647, allocations: 1.078 MB / 0.5754 GB, free: 12.33 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.006127/0.3708, allocations: 3.68 MB / 0.579 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.3733, allocations: 1.555 MB / 0.5805 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.3749, allocations: 0.7884 MB / 0.5813 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3751, allocations: 16.98 kB / 0.5813 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.3769, allocations: 0.8957 MB / 0.5822 GB, free: 5.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.196e-06/0.3769, allocations: 0 / 0.5822 GB, free: 5.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.02822/0.4052, allocations: 6.953 MB / 0.589 GB, free: 14.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4053, allocations: 119.8 kB / 0.5891 GB, free: 13.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.4067, allocations: 1.023 MB / 0.5901 GB, free: 12.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.4068, allocations: 53.69 kB / 0.5902 GB, free: 12.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.4071, allocations: 0.5007 MB / 0.5906 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.4075, allocations: 374.7 kB / 0.591 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/0.408, allocations: 243.4 kB / 0.5912 GB, free: 11.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4081, allocations: 361.8 kB / 0.5916 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.4098, allocations: 0.7613 MB / 0.5923 GB, free: 10.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.4116, allocations: 0.9154 MB / 0.5932 GB, free: 9.672 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/0.4349, allocations: 5.412 MB / 0.5985 GB, free: 4.176 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4349, allocations: 8 kB / 0.5985 GB, free: 4.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01617/0.4511, allocations: 4.506 MB / 0.6029 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/0.4512, allocations: 63.39 kB / 0.603 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.4512, allocations: 8 kB / 0.603 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/0.4585, allocations: 1.862 MB / 0.6048 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4598, allocations: 243.7 kB / 0.605 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.4808, allocations: 8.703 MB / 0.6135 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.4826, allocations: 198.7 kB / 0.6137 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.4828, allocations: 55.97 kB / 0.6138 GB, free: 4.352 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 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.0005433/0.4833, allocations: 283.3 kB / 0.614 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.4836, allocations: 130.4 kB / 0.6142 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.4979, allocations: 4.204 MB / 0.6183 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.498, allocations: 8 kB / 0.6183 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.498, allocations: 4 kB / 0.6183 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.498, allocations: 3.984 kB / 0.6183 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.5139, allocations: 5.969 MB / 0.6241 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.514, allocations: 3.938 kB / 0.6241 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.5147, allocations: 107.9 kB / 0.6242 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00644/0.5212, allocations: 1.828 MB / 0.626 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.5214, allocations: 27.98 kB / 0.626 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.5416, allocations: 9.386 MB / 0.6352 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5417, allocations: 0 / 0.6352 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09995/0.6416, allocations: 36.42 MB / 0.6708 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.6419, allocations: 227.1 kB / 0.671 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.6422, allocations: 24 kB / 0.671 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.6435, allocations: 107.9 kB / 0.6711 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/0.6441, allocations: 212.6 kB / 0.6713 GB, free: 8.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.165e-05/0.6442, allocations: 28 kB / 0.6713 GB, free: 8.375 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009765/0.6452, allocations: 0.6993 MB / 0.672 GB, free: 7.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6452, allocations: 0 / 0.672 GB, free: 7.668 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001744/0.647, allocations: 0.6714 MB / 0.6727 GB, free: 6.996 MB / 490.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 (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.0002332/0.6472, allocations: 127.2 kB / 0.6728 GB, free: 6.863 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007062/0.6543, allocations: 2.637 MB / 0.6754 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6543, allocations: 0 / 0.6754 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004989/0.6593, allocations: 1.762 MB / 0.6771 GB, free: 2.398 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.6602, allocations: 120.4 kB / 0.6772 GB, free: 2.281 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1959/0.856, allocations: 4.348 MB / 0.6815 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.8568, allocations: 1.169 MB / 0.6826 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005578/0.8573, allocations: 118.4 kB / 0.6827 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.8576, allocations: 73.75 kB / 0.6828 GB, free: 114.8 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.8577, allocations: 0 / 0.6828 GB, free: 114.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04035/0.898, allocations: 35.1 MB / 0.7171 GB, free: 91.18 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)