Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 109.2 kB / 16.37 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 195.5 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4444/0.4444, allocations: 78.53 MB / 419 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 83.88 kB / 498.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1236, allocations: 68.18 MB / 0.5538 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2067/0.3304, allocations: 6.629 MB / 0.5603 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.3343, allocations: 2.014 MB / 0.5622 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.3355, allocations: 11.31 kB / 0.5622 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.3366, allocations: 245.2 kB / 0.5625 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.3393, allocations: 0.7591 MB / 0.5632 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3409, allocations: 0.6742 MB / 0.5639 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.343, allocations: 1.641 MB / 0.5655 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005186/0.3436, allocations: 342.8 kB / 0.5658 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.3444, allocations: 0.6705 MB / 0.5665 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007224/0.3451, allocations: 0.8126 MB / 0.5672 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3453, allocations: 125.4 kB / 0.5674 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.3458, allocations: 261.2 kB / 0.5676 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.346, allocations: 324.5 kB / 0.5679 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.3465, allocations: 0.6729 MB / 0.5686 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.3479, allocations: 1.705 MB / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3479, allocations: 0 / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3479, allocations: 1.062 kB / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.3479, allocations: 0 / 0.5703 GB, free: 33.57 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.008479/0.3564, allocations: 2.758 MB / 0.5729 GB, free: 32.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3565, allocations: 12.33 kB / 0.573 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.3614, allocations: 0.7787 MB / 0.5737 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.3631, allocations: 0.8972 MB / 0.5746 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.3633, allocations: 252.2 kB / 0.5748 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3635, allocations: 87.16 kB / 0.5749 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.3656, allocations: 1.175 MB / 0.5761 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.3657, allocations: 8.5 kB / 0.5761 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.3658, allocations: 36.56 kB / 0.5761 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3658, allocations: 18.38 kB / 0.5761 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.3677, allocations: 1.07 MB / 0.5772 GB, free: 31.8 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.00566/0.3734, allocations: 3.667 MB / 0.5808 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.3755, allocations: 1.548 MB / 0.5823 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3768, allocations: 0.7838 MB / 0.583 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.3769, allocations: 11.47 kB / 0.583 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.3785, allocations: 0.8946 MB / 0.5839 GB, free: 28.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.775e-06/0.3785, allocations: 4 kB / 0.5839 GB, free: 28.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02509/0.4036, allocations: 6.954 MB / 0.5907 GB, free: 27.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4037, allocations: 119.1 kB / 0.5908 GB, free: 26.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.4056, allocations: 1.032 MB / 0.5918 GB, free: 26.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.4058, allocations: 47.25 kB / 0.5919 GB, free: 26.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.4061, allocations: 0.4992 MB / 0.5924 GB, free: 26.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/0.4066, allocations: 374 kB / 0.5927 GB, free: 25.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000614/0.4072, allocations: 247.3 kB / 0.593 GB, free: 25.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.4073, allocations: 358.8 kB / 0.5933 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4089, allocations: 0.7631 MB / 0.594 GB, free: 25.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.4107, allocations: 0.9129 MB / 0.5949 GB, free: 24.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0212/0.4319, allocations: 5.413 MB / 0.6002 GB, free: 22.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4319, allocations: 0 / 0.6002 GB, free: 22.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01507/0.447, allocations: 4.511 MB / 0.6046 GB, free: 21.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.4471, allocations: 60.89 kB / 0.6047 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.4471, allocations: 2.906 kB / 0.6047 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006873/0.454, allocations: 1.862 MB / 0.6065 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4554, allocations: 250 kB / 0.6067 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.4759, allocations: 9.461 MB / 0.616 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4778, allocations: 191.7 kB / 0.6162 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.478, allocations: 51.98 kB / 0.6162 GB, free: 14.4 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.0006192/0.4786, allocations: 289.2 kB / 0.6165 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.479, allocations: 130.4 kB / 0.6166 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.491, allocations: 4.189 MB / 0.6207 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.4911, allocations: 9.594 kB / 0.6207 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4911, allocations: 4 kB / 0.6207 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.4911, allocations: 7.922 kB / 0.6207 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.505, allocations: 5.97 MB / 0.6266 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5051, allocations: 0 / 0.6266 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.5058, allocations: 107.9 kB / 0.6267 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005437/0.5112, allocations: 1.829 MB / 0.6284 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.5114, allocations: 23.98 kB / 0.6285 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.5325, allocations: 10.3 MB / 0.6385 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5326, allocations: 7.875 kB / 0.6385 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.548, allocations: 5.129 MB / 0.6435 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.5486, allocations: 223.2 kB / 0.6438 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/0.5489, allocations: 31.94 kB / 0.6438 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.5503, allocations: 103.9 kB / 0.6439 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007048/0.551, allocations: 216.7 kB / 0.6441 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.5511, allocations: 28 kB / 0.6441 GB, free: 1.293 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.5523, allocations: 0.6993 MB / 0.6448 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5523, allocations: 0 / 0.6448 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001608/0.554, allocations: 483.5 kB / 0.6453 GB, free: 116 kB / 446.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.000317/0.5543, allocations: 142.9 kB / 0.6454 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006965/0.5613, allocations: 2.676 MB / 0.648 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5613, allocations: 0 / 0.648 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004803/0.5661, allocations: 1.804 MB / 0.6498 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5672, allocations: 118.5 kB / 0.6499 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.5715, allocations: 2.352 MB / 0.6522 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.5723, allocations: 1.124 MB / 0.6533 GB, free: 7.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.5727, allocations: 110.8 kB / 0.6534 GB, free: 7.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.573, allocations: 71.42 kB / 0.6535 GB, free: 7.648 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.573, allocations: 0 / 0.6535 GB, free: 7.648 MB / 462.1 MB Notification: Performance of Templates: time 0.04016/0.6131, allocations: 26.39 MB / 0.6792 GB, free: 13.45 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)