Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008425/0.0008425, allocations: 175.1 kB / 15.42 MB, free: 6.211 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.221/1.221, allocations: 222.9 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.0009801, allocations: 94.56 kB / 289.8 MB, free: 4.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2975/0.2975, allocations: 78.44 MB / 419 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 12 kB / 498.4 MB, free: 35.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2879, allocations: 68.75 MB / 0.5539 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.005937/0.2939, allocations: 6.871 MB / 0.5606 GB, free: 5.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2971, allocations: 2.108 MB / 0.5627 GB, free: 4.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.2976, allocations: 15.78 kB / 0.5627 GB, free: 4.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.2982, allocations: 188.1 kB / 0.5628 GB, free: 4.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.2997, allocations: 0.6767 MB / 0.5635 GB, free: 3.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3009, allocations: 0.6416 MB / 0.5641 GB, free: 3.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3022, allocations: 1.511 MB / 0.5656 GB, free: 2.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.3026, allocations: 299.8 kB / 0.5659 GB, free: 2.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.3032, allocations: 0.5618 MB / 0.5664 GB, free: 2.367 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007563/0.304, allocations: 0.728 MB / 0.5672 GB, free: 2.039 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.3041, allocations: 57.72 kB / 0.5672 GB, free: 2.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.3046, allocations: 187 kB / 0.5674 GB, free: 2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.3048, allocations: 257.9 kB / 0.5676 GB, free: 1.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.3052, allocations: 0.5913 MB / 0.5682 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.3068, allocations: 1.574 MB / 0.5698 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3068, allocations: 0.75 kB / 0.5698 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3068, allocations: 0 / 0.5698 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.3069, allocations: 0.9688 kB / 0.5698 GB, free: 0.8828 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007796/0.3147, allocations: 2.498 MB / 0.5722 GB, free: 15.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3147, allocations: 7.938 kB / 0.5722 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/0.3196, allocations: 0.7797 MB / 0.573 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.321, allocations: 0.8844 MB / 0.5738 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.3213, allocations: 230 kB / 0.574 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.3214, allocations: 88.34 kB / 0.5741 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.3237, allocations: 1.177 MB / 0.5753 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3238, allocations: 4.75 kB / 0.5753 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/0.3239, allocations: 35.84 kB / 0.5753 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3239, allocations: 18.78 kB / 0.5753 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.3261, allocations: 1.087 MB / 0.5764 GB, free: 13.82 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.006204/0.3324, allocations: 3.732 MB / 0.58 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.3346, allocations: 1.513 MB / 0.5815 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3361, allocations: 0.7999 MB / 0.5823 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.3362, allocations: 15.36 kB / 0.5823 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3363, allocations: 47.97 kB / 0.5824 GB, free: 9.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.735e-06/0.3363, allocations: 0 / 0.5824 GB, free: 9.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.02179/0.3581, allocations: 6.318 MB / 0.5885 GB, free: 6.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.3582, allocations: 140.5 kB / 0.5887 GB, free: 6.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.3597, allocations: 1.025 MB / 0.5897 GB, free: 5.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.3599, allocations: 45.58 kB / 0.5897 GB, free: 5.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.3602, allocations: 0.5015 MB / 0.5902 GB, free: 4.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/0.3606, allocations: 364.8 kB / 0.5905 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.3608, allocations: 120.9 kB / 0.5907 GB, free: 4.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.361, allocations: 357.5 kB / 0.591 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.3628, allocations: 0.7496 MB / 0.5917 GB, free: 3.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.3645, allocations: 0.9072 MB / 0.5926 GB, free: 3.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01875/0.3833, allocations: 5.396 MB / 0.5979 GB, free: 13.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3833, allocations: 0 / 0.5979 GB, free: 13.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01279/0.3961, allocations: 4.464 MB / 0.6022 GB, free: 9.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.3962, allocations: 213.5 kB / 0.6025 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3962, allocations: 0 / 0.6025 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005973/0.4022, allocations: 1.865 MB / 0.6043 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4032, allocations: 227.6 kB / 0.6045 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.4222, allocations: 8.723 MB / 0.613 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.4241, allocations: 182.8 kB / 0.6132 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4243, allocations: 47.98 kB / 0.6132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4243, allocations: 4 kB / 0.6132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01292/0.4372, allocations: 4.323 MB / 0.6175 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4372, allocations: 4 kB / 0.6175 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006084/0.4433, allocations: 1.858 MB / 0.6193 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.4444, allocations: 227.6 kB / 0.6195 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.4633, allocations: 8.684 MB / 0.628 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.4651, allocations: 174.9 kB / 0.6281 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4652, allocations: 39.98 kB / 0.6282 GB, free: 14.32 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 126 * 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.0006784/0.4659, allocations: 362.6 kB / 0.6285 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.4661, allocations: 130.4 kB / 0.6286 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.478, allocations: 4.059 MB / 0.6326 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.478, allocations: 15.94 kB / 0.6326 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.478, allocations: 0 / 0.6326 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.478, allocations: 7.969 kB / 0.6326 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.4919, allocations: 5.886 MB / 0.6384 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.492, allocations: 0 / 0.6384 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/0.4926, allocations: 123.8 kB / 0.6385 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005094/0.4978, allocations: 1.733 MB / 0.6402 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.4979, allocations: 23.98 kB / 0.6402 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.5132, allocations: 7.354 MB / 0.6474 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5132, allocations: 4 kB / 0.6474 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.5271, allocations: 4.997 MB / 0.6523 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/0.5276, allocations: 223.2 kB / 0.6525 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.5278, allocations: 19.98 kB / 0.6525 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.529, allocations: 107.9 kB / 0.6526 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/0.5296, allocations: 196.5 kB / 0.6528 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.5296, allocations: 24 kB / 0.6528 GB, free: 4.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009922/0.5306, allocations: 0.703 MB / 0.6535 GB, free: 4 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5306, allocations: 4 kB / 0.6535 GB, free: 3.996 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001815/0.5325, allocations: 0.753 MB / 0.6543 GB, free: 3.242 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.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.5327, allocations: 143.6 kB / 0.6544 GB, free: 3.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01064/0.5434, allocations: 4.527 MB / 0.6588 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5434, allocations: 0 / 0.6588 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004098/0.5475, allocations: 1.611 MB / 0.6604 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5485, allocations: 116.6 kB / 0.6605 GB, free: 12.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.5524, allocations: 2.815 MB / 0.6632 GB, free: 9.895 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.5531, allocations: 1.141 MB / 0.6644 GB, free: 8.727 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006428/0.5537, allocations: 139.5 kB / 0.6645 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.554, allocations: 67.42 kB / 0.6646 GB, free: 8.523 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.554, allocations: 0 / 0.6646 GB, free: 8.523 MB / 474.7 MB Notification: Performance of Templates: time 0.0422/0.5962, allocations: 30.18 MB / 0.694 GB, free: 10.36 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)