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.001372/0.001372, allocations: 108.1 kB / 16.41 MB, free: 6.508 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.438/1.438, allocations: 222.9 MB / 240.1 MB, free: 4.516 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.001557/0.001557, allocations: 180.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5378/0.5378, allocations: 91.91 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 80.83 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1341, allocations: 71.29 MB / 0.643 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008219/0.1423, allocations: 6.643 MB / 0.6495 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.1472, allocations: 2.032 MB / 0.6515 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.1484, allocations: 15.94 kB / 0.6515 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009078/0.1493, allocations: 242 kB / 0.6517 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.1518, allocations: 0.824 MB / 0.6525 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.1534, allocations: 0.6785 MB / 0.6532 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.1557, allocations: 1.643 MB / 0.6548 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.1563, allocations: 344.7 kB / 0.6551 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1573, allocations: 0.673 MB / 0.6558 GB, free: 6.438 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009767/0.1583, allocations: 0.805 MB / 0.6566 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.1585, allocations: 124 kB / 0.6567 GB, free: 5.508 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.1591, allocations: 263.9 kB / 0.6569 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.1594, allocations: 330.6 kB / 0.6572 GB, free: 4.926 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.1601, allocations: 0.6757 MB / 0.6579 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.1622, allocations: 1.704 MB / 0.6596 GB, free: 2.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1622, allocations: 0 / 0.6596 GB, free: 2.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1622, allocations: 0 / 0.6596 GB, free: 2.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.1622, allocations: 0 / 0.6596 GB, free: 2.535 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.009644/0.1719, allocations: 2.808 MB / 0.6623 GB, free: 15.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1719, allocations: 8.031 kB / 0.6623 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/0.1771, allocations: 0.7874 MB / 0.6631 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.1789, allocations: 0.9025 MB / 0.664 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.1792, allocations: 252.2 kB / 0.6642 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.1794, allocations: 87.95 kB / 0.6643 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.1819, allocations: 1.176 MB / 0.6654 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.1819, allocations: 0 / 0.6654 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.1821, allocations: 39.98 kB / 0.6655 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.1821, allocations: 20 kB / 0.6655 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.1846, allocations: 1.066 MB / 0.6665 GB, free: 11.22 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.00684/0.1914, allocations: 3.673 MB / 0.6701 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.1941, allocations: 1.543 MB / 0.6716 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.1958, allocations: 0.7893 MB / 0.6724 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.1959, allocations: 12.94 kB / 0.6724 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/0.1978, allocations: 0.8958 MB / 0.6733 GB, free: 4.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.886e-06/0.1978, allocations: 3.938 kB / 0.6733 GB, free: 4.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02747/0.2253, allocations: 6.961 MB / 0.6801 GB, free: 13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.2254, allocations: 115.8 kB / 0.6802 GB, free: 12.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.2272, allocations: 1.031 MB / 0.6812 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.2274, allocations: 49.64 kB / 0.6812 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.2279, allocations: 0.5132 MB / 0.6817 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.2283, allocations: 384.7 kB / 0.6821 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005378/0.2289, allocations: 251.5 kB / 0.6824 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.2291, allocations: 357.9 kB / 0.6827 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.2308, allocations: 0.7613 MB / 0.6834 GB, free: 9.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.2327, allocations: 0.9155 MB / 0.6843 GB, free: 8.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02237/0.2551, allocations: 5.417 MB / 0.6896 GB, free: 3.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.2552, allocations: 0 / 0.6896 GB, free: 3.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0151/0.2703, allocations: 4.519 MB / 0.694 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.2704, allocations: 59.41 kB / 0.6941 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.2704, allocations: 11.88 kB / 0.6941 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007418/0.2778, allocations: 1.854 MB / 0.6959 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.2793, allocations: 243.7 kB / 0.6961 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/0.3036, allocations: 9.473 MB / 0.7054 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.3055, allocations: 195.1 kB / 0.7056 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.3056, allocations: 55.91 kB / 0.7056 GB, free: 2.453 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.0005965/0.3062, allocations: 295.1 kB / 0.7059 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.3065, allocations: 131.2 kB / 0.706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.3211, allocations: 4.189 MB / 0.7101 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3212, allocations: 16 kB / 0.7102 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3212, allocations: 0 / 0.7102 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.3212, allocations: 7.922 kB / 0.7102 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.3381, allocations: 5.973 MB / 0.716 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.3382, allocations: 4 kB / 0.716 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.3389, allocations: 107.8 kB / 0.7161 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006693/0.3457, allocations: 1.824 MB / 0.7179 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.3459, allocations: 16 kB / 0.7179 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/0.3694, allocations: 10.32 MB / 0.728 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3695, allocations: 3.938 kB / 0.728 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.3862, allocations: 5.141 MB / 0.733 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.3868, allocations: 228 kB / 0.7332 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.387, allocations: 23.94 kB / 0.7332 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.3883, allocations: 119.8 kB / 0.7333 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000737/0.389, allocations: 208.7 kB / 0.7335 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/0.3891, allocations: 32.05 kB / 0.7336 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00114/0.3902, allocations: 0.7032 MB / 0.7343 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3903, allocations: 0 / 0.7343 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001577/0.3918, allocations: 483.7 kB / 0.7347 GB, free: 4.121 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.0003312/0.3922, allocations: 143.5 kB / 0.7349 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007726/0.3999, allocations: 2.694 MB / 0.7375 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.4, allocations: 4.125 kB / 0.7375 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005408/0.4054, allocations: 1.802 MB / 0.7393 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4066, allocations: 121.4 kB / 0.7394 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.4116, allocations: 2.377 MB / 0.7417 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008257/0.4124, allocations: 1.131 MB / 0.7428 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000493/0.4129, allocations: 111.9 kB / 0.7429 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.4132, allocations: 71.42 kB / 0.743 GB, free: 11.53 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.4132, allocations: 0 / 0.743 GB, free: 11.53 MB / 0.545 GB Notification: Performance of Templates: time 0.04512/0.4583, allocations: 26.7 MB / 0.769 GB, free: 0.8438 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)