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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08826/0.08826, allocations: 12.6 MB / 28.91 MB, free: 0.5859 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 103.5 kB / 32.5 MB, free: 3.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 180.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4848/0.4848, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 134.5 kB / 0.5565 GB, free: 28.51 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1492, allocations: 68.13 MB / 0.623 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007319/0.1565, allocations: 6.683 MB / 0.6296 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004708/0.1613, allocations: 1.986 MB / 0.6315 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.1624, allocations: 12 kB / 0.6315 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.1633, allocations: 245.9 kB / 0.6317 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.1656, allocations: 0.7624 MB / 0.6325 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1672, allocations: 0.674 MB / 0.6331 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002008/0.1692, allocations: 1.631 MB / 0.6347 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.1697, allocations: 352.7 kB / 0.6351 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008647/0.1706, allocations: 0.6652 MB / 0.6357 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008545/0.1715, allocations: 0.8167 MB / 0.6365 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.1717, allocations: 124 kB / 0.6366 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.1722, allocations: 267.8 kB / 0.6369 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1725, allocations: 322.7 kB / 0.6372 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.173, allocations: 0.6797 MB / 0.6379 GB, free: 176 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.1747, allocations: 1.689 MB / 0.6395 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1748, allocations: 0 / 0.6395 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1748, allocations: 3.938 kB / 0.6395 GB, free: 14.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.1748, allocations: 3.938 kB / 0.6395 GB, free: 14.47 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.009028/0.1838, allocations: 2.77 MB / 0.6422 GB, free: 11.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1839, allocations: 15.98 kB / 0.6422 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.1889, allocations: 0.7749 MB / 0.643 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1905, allocations: 0.8977 MB / 0.6439 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.1908, allocations: 252.2 kB / 0.6441 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.191, allocations: 87.91 kB / 0.6442 GB, free: 9.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.1934, allocations: 1.176 MB / 0.6454 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1934, allocations: 0 / 0.6454 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1935, allocations: 36 kB / 0.6454 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.1935, allocations: 16 kB / 0.6454 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.1958, allocations: 1.077 MB / 0.6465 GB, free: 7.199 MB / 462.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.006314/0.2022, allocations: 3.657 MB / 0.65 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.2046, allocations: 1.556 MB / 0.6515 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.2061, allocations: 0.7814 MB / 0.6523 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-05/0.2063, allocations: 20.98 kB / 0.6523 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001767/0.208, allocations: 0.8918 MB / 0.6532 GB, free: 16 kB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 4.198e-06/0.208, allocations: 4 kB / 0.6532 GB, free: 12 kB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02709/0.2351, allocations: 6.949 MB / 0.66 GB, free: 8.996 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.2353, allocations: 119.8 kB / 0.6601 GB, free: 8.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.2369, allocations: 1.031 MB / 0.6611 GB, free: 7.809 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.2371, allocations: 45.7 kB / 0.6612 GB, free: 7.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.2375, allocations: 0.5008 MB / 0.6616 GB, free: 7.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.2379, allocations: 370.7 kB / 0.662 GB, free: 6.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/0.2384, allocations: 251.4 kB / 0.6622 GB, free: 6.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2385, allocations: 357.9 kB / 0.6626 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.2402, allocations: 0.7691 MB / 0.6633 GB, free: 5.508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.2419, allocations: 0.9076 MB / 0.6642 GB, free: 4.566 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02107/0.263, allocations: 5.421 MB / 0.6695 GB, free: 15.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.2631, allocations: 4 kB / 0.6695 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01538/0.2785, allocations: 4.506 MB / 0.6739 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.2786, allocations: 62.38 kB / 0.674 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.2786, allocations: 4 kB / 0.674 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007191/0.2858, allocations: 1.854 MB / 0.6758 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.2873, allocations: 251.6 kB / 0.676 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/0.3113, allocations: 9.459 MB / 0.6853 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.3135, allocations: 194.8 kB / 0.6855 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.3138, allocations: 43.98 kB / 0.6855 GB, free: 14.5 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.0009398/0.3148, allocations: 299.1 kB / 0.6858 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.3152, allocations: 122.5 kB / 0.6859 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.3297, allocations: 4.189 MB / 0.69 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/0.3298, allocations: 12 kB / 0.69 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3298, allocations: 0 / 0.69 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/0.3298, allocations: 11.91 kB / 0.69 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/0.3474, allocations: 5.957 MB / 0.6958 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.3475, allocations: 3.984 kB / 0.6958 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.3483, allocations: 103.9 kB / 0.6959 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006589/0.355, allocations: 1.832 MB / 0.6977 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/0.3553, allocations: 20 kB / 0.6977 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02364/0.3789, allocations: 10.31 MB / 0.7078 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.379, allocations: 7.922 kB / 0.7078 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/0.3959, allocations: 5.136 MB / 0.7128 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008941/0.3968, allocations: 211.4 kB / 0.713 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007058/0.3976, allocations: 23.94 kB / 0.7131 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.3995, allocations: 115.9 kB / 0.7132 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000957/0.4005, allocations: 212.7 kB / 0.7134 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/0.4008, allocations: 32 kB / 0.7134 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001483/0.4023, allocations: 0.6954 MB / 0.7141 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.753e-06/0.4023, allocations: 4.188 kB / 0.7141 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002233/0.4045, allocations: 491.3 kB / 0.7145 GB, free: 208 kB / 0.5137 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.0004318/0.405, allocations: 143.5 kB / 0.7147 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.3469/0.7519, allocations: 2.673 MB / 0.7173 GB, free: 86.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.752, allocations: 0.6875 kB / 0.7173 GB, free: 86.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005762/0.7577, allocations: 1.801 MB / 0.7191 GB, free: 85.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.7589, allocations: 112.6 kB / 0.7192 GB, free: 85.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.7638, allocations: 2.365 MB / 0.7215 GB, free: 84.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.7647, allocations: 1.133 MB / 0.7226 GB, free: 84.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.7651, allocations: 80.02 kB / 0.7227 GB, free: 84.11 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.7651, allocations: 1.969 kB / 0.7227 GB, free: 84.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.0388/0.8039, allocations: 24.22 MB / 0.7463 GB, free: 74.08 MB / 0.5137 GB 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)