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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005661/0.005661, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.384/1.384, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.001381/0.001381, allocations: 188.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5304/0.5304, allocations: 91.9 MB / 431.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 77.69 kB / 0.5727 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 71.28 MB / 0.6423 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007531/0.163, allocations: 6.645 MB / 0.6488 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.1668, allocations: 2.024 MB / 0.6508 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.1674, allocations: 12 kB / 0.6508 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.1681, allocations: 245.9 kB / 0.651 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.17, allocations: 0.8266 MB / 0.6518 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1714, allocations: 0.6669 MB / 0.6525 GB, free: 9.152 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.1732, allocations: 1.643 MB / 0.6541 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.1737, allocations: 336.7 kB / 0.6544 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009354/0.1746, allocations: 0.673 MB / 0.6551 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.1755, allocations: 0.8129 MB / 0.6559 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.1757, allocations: 128 kB / 0.656 GB, free: 5.543 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.1762, allocations: 259.9 kB / 0.6562 GB, free: 5.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.1765, allocations: 334.6 kB / 0.6566 GB, free: 4.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.1771, allocations: 0.6758 MB / 0.6572 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.1793, allocations: 1.697 MB / 0.6589 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1793, allocations: 0 / 0.6589 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1793, allocations: 0 / 0.6589 GB, free: 2.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.1793, allocations: 0 / 0.6589 GB, free: 2.578 MB / 462.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.009168/0.1885, allocations: 2.762 MB / 0.6616 GB, free: 15.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1886, allocations: 16.02 kB / 0.6616 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.1936, allocations: 0.7748 MB / 0.6623 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.1953, allocations: 0.8977 MB / 0.6632 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.1955, allocations: 252.2 kB / 0.6635 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.1957, allocations: 87.91 kB / 0.6635 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.1981, allocations: 1.172 MB / 0.6647 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1982, allocations: 0 / 0.6647 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1983, allocations: 40 kB / 0.6647 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.1983, allocations: 19.94 kB / 0.6647 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.2006, allocations: 1.074 MB / 0.6658 GB, free: 11.31 MB / 478.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.006582/0.2072, allocations: 3.66 MB / 0.6694 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.2098, allocations: 1.547 MB / 0.6709 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.2113, allocations: 0.7816 MB / 0.6716 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-05/0.2114, allocations: 13 kB / 0.6717 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.2133, allocations: 0.8974 MB / 0.6725 GB, free: 4.141 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.336e-06/0.2133, allocations: 0 / 0.6725 GB, free: 4.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02752/0.2408, allocations: 6.957 MB / 0.6793 GB, free: 13.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.241, allocations: 119.8 kB / 0.6794 GB, free: 12.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.2427, allocations: 1.027 MB / 0.6804 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002858/0.243, allocations: 49.7 kB / 0.6805 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.2434, allocations: 0.5007 MB / 0.681 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000448/0.2439, allocations: 370.7 kB / 0.6813 GB, free: 11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005296/0.2444, allocations: 247.4 kB / 0.6816 GB, free: 10.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2446, allocations: 361.9 kB / 0.6819 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.2463, allocations: 0.7613 MB / 0.6827 GB, free: 9.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.2482, allocations: 0.9154 MB / 0.6835 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02274/0.2709, allocations: 5.417 MB / 0.6888 GB, free: 3.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.271, allocations: 4 kB / 0.6888 GB, free: 3.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01606/0.287, allocations: 4.503 MB / 0.6932 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-05/0.2872, allocations: 64.66 kB / 0.6933 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.2872, allocations: 8 kB / 0.6933 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007554/0.2948, allocations: 1.854 MB / 0.6951 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2962, allocations: 251.6 kB / 0.6954 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.3209, allocations: 9.46 MB / 0.7046 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.323, allocations: 190.8 kB / 0.7048 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.3233, allocations: 47.98 kB / 0.7048 GB, free: 2.621 MB / 0.4981 GB 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.0007231/0.324, allocations: 305 kB / 0.7051 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.3243, allocations: 122.5 kB / 0.7052 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.3394, allocations: 4.193 MB / 0.7093 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.3395, allocations: 12 kB / 0.7093 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3395, allocations: 0 / 0.7093 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.3395, allocations: 11.91 kB / 0.7093 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.3573, allocations: 5.961 MB / 0.7152 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.3574, allocations: 0 / 0.7152 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/0.3582, allocations: 111.9 kB / 0.7153 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00679/0.365, allocations: 1.828 MB / 0.7171 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.3652, allocations: 19.94 kB / 0.7171 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02375/0.389, allocations: 10.31 MB / 0.7271 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.389, allocations: 7.922 kB / 0.7272 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/0.4056, allocations: 5.125 MB / 0.7322 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.406, allocations: 219.5 kB / 0.7324 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.4063, allocations: 27.88 kB / 0.7324 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.4077, allocations: 115.8 kB / 0.7325 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/0.4084, allocations: 216.7 kB / 0.7327 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.4085, allocations: 28 kB / 0.7327 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001163/0.4097, allocations: 0.6993 MB / 0.7334 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.4097, allocations: 0 / 0.7334 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001461/0.4112, allocations: 479.5 kB / 0.7339 GB, free: 4.316 MB / 0.5294 GB 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.000294/0.4115, allocations: 147.7 kB / 0.734 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007594/0.4191, allocations: 2.694 MB / 0.7367 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4191, allocations: 0 / 0.7367 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005314/0.4244, allocations: 1.795 MB / 0.7384 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4256, allocations: 116.4 kB / 0.7385 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.4303, allocations: 2.343 MB / 0.7408 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008138/0.4311, allocations: 1.132 MB / 0.7419 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004796/0.4316, allocations: 103.9 kB / 0.742 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.4319, allocations: 75.42 kB / 0.7421 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.4319, allocations: 4 kB / 0.7421 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Templates: time 0.04294/0.4748, allocations: 26.63 MB / 0.7681 GB, free: 1.156 MB / 0.5606 GB 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)