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.08054/0.08054, allocations: 12.59 MB / 28.9 MB, free: 0.7344 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.001306/0.001306, allocations: 115.4 kB / 32.5 MB, free: 3.676 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.442/1.442, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001425/0.001425, allocations: 188.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.445/0.445, allocations: 78.5 MB / 420 MB, free: 11.24 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.00412/0.00412, allocations: 135.4 kB / 0.5565 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1162, allocations: 68.14 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.008353/0.1245, allocations: 6.691 MB / 0.6296 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1288, allocations: 1.998 MB / 0.6315 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.1294, allocations: 12 kB / 0.6315 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.1301, allocations: 237.9 kB / 0.6318 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.1323, allocations: 0.8248 MB / 0.6326 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1338, allocations: 0.6665 MB / 0.6332 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1358, allocations: 1.647 MB / 0.6348 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.1363, allocations: 240.8 kB / 0.6351 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.1372, allocations: 0.6691 MB / 0.6357 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/0.1382, allocations: 0.8128 MB / 0.6365 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.1384, allocations: 128 kB / 0.6366 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.1389, allocations: 263.8 kB / 0.6369 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.1392, allocations: 326.6 kB / 0.6372 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006716/0.1399, allocations: 0.6758 MB / 0.6379 GB, free: 204 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.1419, allocations: 1.7 MB / 0.6395 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1419, allocations: 0 / 0.6395 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1419, allocations: 4 kB / 0.6395 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.142, allocations: 0 / 0.6395 GB, free: 14.48 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.009748/0.1517, allocations: 2.808 MB / 0.6423 GB, free: 11.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1517, allocations: 11.98 kB / 0.6423 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.1572, allocations: 0.7874 MB / 0.643 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.1591, allocations: 0.8987 MB / 0.6439 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.1594, allocations: 256.2 kB / 0.6442 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.1596, allocations: 87.95 kB / 0.6442 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.1622, allocations: 1.176 MB / 0.6454 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.1622, allocations: 7.938 kB / 0.6454 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.1623, allocations: 32 kB / 0.6454 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.1624, allocations: 20 kB / 0.6455 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1649, allocations: 1.07 MB / 0.6465 GB, free: 7.164 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.007394/0.1723, allocations: 3.677 MB / 0.6501 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.175, allocations: 1.467 MB / 0.6515 GB, free: 1.766 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.1767, allocations: 0.7033 MB / 0.6522 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1768, allocations: 16.98 kB / 0.6522 GB, free: 1.043 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/0.1788, allocations: 0.8918 MB / 0.6531 GB, free: 136 kB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 2.896e-06/0.1788, allocations: 0 / 0.6531 GB, free: 136 kB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02983/0.2086, allocations: 6.93 MB / 0.6599 GB, free: 9.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.2087, allocations: 119.8 kB / 0.66 GB, free: 8.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.2104, allocations: 1.031 MB / 0.661 GB, free: 7.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.2107, allocations: 45.7 kB / 0.661 GB, free: 7.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.2111, allocations: 0.5169 MB / 0.6615 GB, free: 7.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.2116, allocations: 388.7 kB / 0.6619 GB, free: 6.992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004992/0.2121, allocations: 247.6 kB / 0.6621 GB, free: 6.746 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.2123, allocations: 357.9 kB / 0.6625 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.2141, allocations: 0.7574 MB / 0.6632 GB, free: 5.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.2161, allocations: 0.9115 MB / 0.6641 GB, free: 4.688 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02337/0.2395, allocations: 5.421 MB / 0.6694 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2395, allocations: 0 / 0.6694 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01635/0.2558, allocations: 4.48 MB / 0.6738 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.2559, allocations: 63.39 kB / 0.6738 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2559, allocations: 0 / 0.6738 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007618/0.2636, allocations: 1.858 MB / 0.6757 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.265, allocations: 251.6 kB / 0.6759 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/0.2901, allocations: 9.463 MB / 0.6851 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.2921, allocations: 203 kB / 0.6853 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.2923, allocations: 47.98 kB / 0.6854 GB, free: 14.64 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.0006198/0.2929, allocations: 296 kB / 0.6857 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.2931, allocations: 135.1 kB / 0.6858 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.3085, allocations: 4.146 MB / 0.6898 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.3085, allocations: 12 kB / 0.6898 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3085, allocations: 4 kB / 0.6898 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.3085, allocations: 7.922 kB / 0.6899 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.326, allocations: 5.926 MB / 0.6956 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.326, allocations: 8.031 kB / 0.6956 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/0.3267, allocations: 99.89 kB / 0.6957 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006856/0.3336, allocations: 1.832 MB / 0.6975 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.3337, allocations: 23.98 kB / 0.6976 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/0.3581, allocations: 10.33 MB / 0.7076 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3581, allocations: 7.938 kB / 0.7076 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.3754, allocations: 5.098 MB / 0.7126 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.3758, allocations: 231.9 kB / 0.7128 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.376, allocations: 23.94 kB / 0.7129 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.3773, allocations: 115.9 kB / 0.713 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006965/0.378, allocations: 208.7 kB / 0.7132 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/0.3781, allocations: 31.98 kB / 0.7132 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001164/0.3793, allocations: 0.6954 MB / 0.7139 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3793, allocations: 0 / 0.7139 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001474/0.3807, allocations: 483.7 kB / 0.7144 GB, free: 428 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.0003022/0.381, allocations: 139.5 kB / 0.7145 GB, free: 280 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2257/0.6067, allocations: 2.541 MB / 0.717 GB, free: 86.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6067, allocations: 2.062 kB / 0.717 GB, free: 86.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005415/0.6121, allocations: 1.733 MB / 0.7187 GB, free: 85.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.6131, allocations: 116 kB / 0.7188 GB, free: 85.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.6173, allocations: 2.383 MB / 0.7211 GB, free: 84.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.6179, allocations: 1.136 MB / 0.7222 GB, free: 84.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004491/0.6184, allocations: 106.6 kB / 0.7223 GB, free: 84.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.6187, allocations: 72.23 kB / 0.7224 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.6187, allocations: 0.9062 kB / 0.7224 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.03887/0.6575, allocations: 26.8 MB / 0.7485 GB, free: 71.95 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)