Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 104.1 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07453/0.07453, allocations: 12.6 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3135/0.3135, allocations: 78.51 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 106.4 kB / 0.5254 GB, free: 19.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1288, allocations: 68.13 MB / 0.592 GB, free: 15.62 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008213/0.1371, allocations: 6.999 MB / 0.5988 GB, free: 8.578 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00462/0.1417, allocations: 2.041 MB / 0.6008 GB, free: 6.531 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1429, allocations: 19.94 kB / 0.6008 GB, free: 6.512 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.1439, allocations: 190.8 kB / 0.601 GB, free: 6.324 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.1463, allocations: 0.6803 MB / 0.6017 GB, free: 5.645 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1479, allocations: 0.6275 MB / 0.6023 GB, free: 5.023 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.1499, allocations: 1.569 MB / 0.6038 GB, free: 3.449 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.1504, allocations: 301.6 kB / 0.6041 GB, free: 3.141 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009009/0.1513, allocations: 0.6143 MB / 0.6047 GB, free: 2.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007403/0.1521, allocations: 0.7621 MB / 0.6055 GB, free: 1.758 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1522, allocations: 75.94 kB / 0.6055 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.1527, allocations: 207.9 kB / 0.6057 GB, free: 1.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.1529, allocations: 274.6 kB / 0.606 GB, free: 1.211 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.1534, allocations: 0.625 MB / 0.6066 GB, free: 0.582 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1548, allocations: 1.627 MB / 0.6082 GB, free: 14.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1548, allocations: 0 / 0.6082 GB, free: 14.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1548, allocations: 0 / 0.6082 GB, free: 14.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1548, allocations: 4 kB / 0.6082 GB, free: 14.94 MB / 410.7 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.008838/0.1636, allocations: 2.766 MB / 0.6109 GB, free: 12.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1637, allocations: 11.98 kB / 0.6109 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.1683, allocations: 0.7905 MB / 0.6117 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.1699, allocations: 0.8859 MB / 0.6125 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.1702, allocations: 252.1 kB / 0.6128 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.1704, allocations: 84 kB / 0.6129 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.1728, allocations: 1.18 MB / 0.614 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.1729, allocations: 0 / 0.614 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.173, allocations: 28 kB / 0.614 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.173, allocations: 20 kB / 0.6141 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.1752, allocations: 1.078 MB / 0.6151 GB, free: 7.684 MB / 410.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.006165/0.1814, allocations: 3.676 MB / 0.6187 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.1838, allocations: 1.552 MB / 0.6202 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.1853, allocations: 0.7855 MB / 0.621 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.1855, allocations: 20.97 kB / 0.621 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002049/0.1876, allocations: 0.888 MB / 0.6219 GB, free: 492 kB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 2.906e-06/0.1876, allocations: 0 / 0.6219 GB, free: 492 kB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.02721/0.2148, allocations: 6.957 MB / 0.6287 GB, free: 9.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.2149, allocations: 115.8 kB / 0.6288 GB, free: 9.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.2167, allocations: 1.034 MB / 0.6298 GB, free: 8.277 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.2168, allocations: 49.64 kB / 0.6298 GB, free: 8.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.2173, allocations: 0.5008 MB / 0.6303 GB, free: 7.715 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.2177, allocations: 374.6 kB / 0.6307 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/0.2182, allocations: 243.5 kB / 0.6309 GB, free: 7.102 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2183, allocations: 357.9 kB / 0.6313 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.22, allocations: 0.7691 MB / 0.632 GB, free: 5.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.2217, allocations: 0.9037 MB / 0.6329 GB, free: 5.043 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2634/0.4852, allocations: 5.42 MB / 0.6382 GB, free: 50.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4852, allocations: 2.562 kB / 0.6382 GB, free: 50.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01581/0.501, allocations: 4.513 MB / 0.6426 GB, free: 49.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.5011, allocations: 59.58 kB / 0.6426 GB, free: 49.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.5011, allocations: 2.938 kB / 0.6426 GB, free: 49.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/0.5082, allocations: 1.846 MB / 0.6444 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5096, allocations: 252.8 kB / 0.6447 GB, free: 49.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.531, allocations: 8.732 MB / 0.6532 GB, free: 45.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5329, allocations: 186.7 kB / 0.6534 GB, free: 45.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.5331, allocations: 54.55 kB / 0.6534 GB, free: 45.41 MB / 426.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: 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.0005435/0.5336, allocations: 296.2 kB / 0.6537 GB, free: 45.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5339, allocations: 122.7 kB / 0.6538 GB, free: 45.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.5475, allocations: 4.189 MB / 0.6579 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5475, allocations: 12.97 kB / 0.658 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5476, allocations: 9.25 kB / 0.658 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.5476, allocations: 3.844 kB / 0.658 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.5627, allocations: 5.967 MB / 0.6638 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.5628, allocations: 0 / 0.6638 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.5635, allocations: 108.1 kB / 0.6639 GB, free: 40.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006293/0.5699, allocations: 1.835 MB / 0.6657 GB, free: 39.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.5701, allocations: 27.02 kB / 0.6657 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/0.5895, allocations: 9.377 MB / 0.6749 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5895, allocations: 0 / 0.6749 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0976/0.6871, allocations: 36.42 MB / 0.7104 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.6877, allocations: 223.2 kB / 0.7106 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.6881, allocations: 16.19 kB / 0.7107 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.6896, allocations: 119.9 kB / 0.7108 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008572/0.6905, allocations: 212.4 kB / 0.711 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.6907, allocations: 31.98 kB / 0.711 GB, free: 9.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.692, allocations: 0.6954 MB / 0.7117 GB, free: 8.887 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.692, allocations: 0 / 0.7117 GB, free: 8.887 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002592/0.6946, allocations: 0.6625 MB / 0.7123 GB, free: 8.227 MB / 442.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.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.0003272/0.6949, allocations: 147.6 kB / 0.7125 GB, free: 8.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007743/0.7027, allocations: 2.639 MB / 0.7151 GB, free: 5.398 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7027, allocations: 64 / 0.7151 GB, free: 5.398 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005312/0.708, allocations: 1.753 MB / 0.7168 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.7093, allocations: 115.2 kB / 0.7169 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009797/0.7191, allocations: 4.369 MB / 0.7211 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/0.7201, allocations: 1.164 MB / 0.7223 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005855/0.7207, allocations: 115.9 kB / 0.7224 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.7211, allocations: 71.42 kB / 0.7225 GB, free: 13.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7211, allocations: 4 kB / 0.7225 GB, free: 13.68 MB / 458.7 MB Notification: Performance of Templates: time 0.05683/0.778, allocations: 35.11 MB / 0.7567 GB, free: 10.6 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)