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.001232/0.001232, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.35/1.35, allocations: 222.9 MB / 240.1 MB, free: 4.359 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.001398/0.001398, allocations: 180.5 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.515/0.515, allocations: 91.9 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 76.39 kB / 0.5734 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 71.29 MB / 0.643 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006901/0.113, allocations: 6.646 MB / 0.6495 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.1166, allocations: 2.024 MB / 0.6515 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.1172, allocations: 15.94 kB / 0.6515 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006797/0.1179, allocations: 242 kB / 0.6517 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1197, allocations: 0.8319 MB / 0.6525 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.1211, allocations: 0.6701 MB / 0.6532 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.1228, allocations: 1.639 MB / 0.6548 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/0.1233, allocations: 348.6 kB / 0.6551 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.1243, allocations: 0.6769 MB / 0.6558 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1254, allocations: 0.805 MB / 0.6566 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.1257, allocations: 124 kB / 0.6567 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.1264, allocations: 267.9 kB / 0.6569 GB, free: 5.242 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.1268, allocations: 326.6 kB / 0.6572 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.1275, allocations: 0.6757 MB / 0.6579 GB, free: 4.242 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.1293, allocations: 1.693 MB / 0.6596 GB, free: 2.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1294, allocations: 0 / 0.6596 GB, free: 2.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1294, allocations: 0 / 0.6596 GB, free: 2.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.1294, allocations: 0 / 0.6596 GB, free: 2.543 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.009505/0.1389, allocations: 2.77 MB / 0.6623 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.139, allocations: 8.031 kB / 0.6623 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.1444, allocations: 0.7865 MB / 0.663 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.1459, allocations: 0.8899 MB / 0.6639 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.1462, allocations: 248.2 kB / 0.6641 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.1464, allocations: 95.84 kB / 0.6642 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.1489, allocations: 1.176 MB / 0.6654 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1489, allocations: 0 / 0.6654 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.149, allocations: 32 kB / 0.6654 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.149, allocations: 20 kB / 0.6654 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.1518, allocations: 1.074 MB / 0.6665 GB, free: 11.27 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.006596/0.1584, allocations: 3.66 MB / 0.6701 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.161, allocations: 1.551 MB / 0.6716 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.1626, allocations: 0.7777 MB / 0.6723 GB, free: 5.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.506e-05/0.1627, allocations: 13 kB / 0.6723 GB, free: 5.012 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/0.1646, allocations: 0.8958 MB / 0.6732 GB, free: 4.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.296e-06/0.1646, allocations: 0 / 0.6732 GB, free: 4.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02878/0.1934, allocations: 6.957 MB / 0.68 GB, free: 13.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1934, allocations: 111.8 kB / 0.6801 GB, free: 12.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.195, allocations: 1.031 MB / 0.6811 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.1952, allocations: 49.64 kB / 0.6812 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.1956, allocations: 0.5085 MB / 0.6817 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.196, allocations: 370.7 kB / 0.682 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004763/0.1965, allocations: 251.4 kB / 0.6823 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1966, allocations: 353.9 kB / 0.6826 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.1984, allocations: 0.7613 MB / 0.6833 GB, free: 9.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.2002, allocations: 0.9155 MB / 0.6842 GB, free: 8.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02254/0.2228, allocations: 5.41 MB / 0.6895 GB, free: 3.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.2228, allocations: 4 kB / 0.6895 GB, free: 3.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01553/0.2384, allocations: 4.506 MB / 0.6939 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.2385, allocations: 59.41 kB / 0.694 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.2385, allocations: 4 kB / 0.694 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007471/0.246, allocations: 1.865 MB / 0.6958 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.2473, allocations: 239.7 kB / 0.696 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02419/0.2715, allocations: 9.472 MB / 0.7053 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.2734, allocations: 190.8 kB / 0.7055 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.2736, allocations: 47.98 kB / 0.7055 GB, free: 2.582 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.0006627/0.2743, allocations: 298.9 kB / 0.7058 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.2746, allocations: 122.5 kB / 0.7059 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/0.2897, allocations: 4.193 MB / 0.71 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.2898, allocations: 3.984 kB / 0.71 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2898, allocations: 0 / 0.71 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.2902, allocations: 227.2 kB / 0.7102 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.2904, allocations: 19.94 kB / 0.7102 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.2918, allocations: 115.9 kB / 0.7104 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/0.293, allocations: 496.2 kB / 0.7108 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007598/0.3006, allocations: 2.42 MB / 0.7132 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005212/0.3059, allocations: 2.445 MB / 0.7156 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001516/0.3074, allocations: 0.6207 MB / 0.7162 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001172/0.3086, allocations: 0.7032 MB / 0.7169 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of Backend: time 5.91e-07/0.3086, allocations: 0 / 0.7169 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007022/0.3156, allocations: 2.19 MB / 0.719 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003809/0.3195, allocations: 3.007 MB / 0.722 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.03826/0.3577, allocations: 24.95 MB / 0.7463 GB, free: 8.582 MB / 0.545 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)