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.08262/0.08262, allocations: 12.59 MB / 28.23 MB, free: 1.047 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.001156/0.001156, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.393/1.393, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001304/0.001303, allocations: 188.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4545/0.4545, allocations: 78.5 MB / 419.3 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.002561/0.002561, allocations: 134.7 kB / 0.5558 GB, free: 28.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1583, allocations: 68.13 MB / 0.6224 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008106/0.1664, allocations: 6.671 MB / 0.6289 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.1708, allocations: 1.994 MB / 0.6308 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.1714, allocations: 12 kB / 0.6308 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.1721, allocations: 245.9 kB / 0.6311 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.174, allocations: 0.8285 MB / 0.6319 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1754, allocations: 0.6626 MB / 0.6325 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.1772, allocations: 1.643 MB / 0.6341 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.1777, allocations: 348.7 kB / 0.6345 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.1786, allocations: 0.6769 MB / 0.6351 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/0.1795, allocations: 0.8051 MB / 0.6359 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.1797, allocations: 120 kB / 0.636 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.1802, allocations: 267.8 kB / 0.6363 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.1805, allocations: 334.6 kB / 0.6366 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.181, allocations: 0.6641 MB / 0.6373 GB, free: 32 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1828, allocations: 1.704 MB / 0.6389 GB, free: 14.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1828, allocations: 0 / 0.6389 GB, free: 14.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1828, allocations: 0 / 0.6389 GB, free: 14.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.1829, allocations: 3.938 kB / 0.6389 GB, free: 14.32 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.008557/0.1914, allocations: 2.812 MB / 0.6417 GB, free: 11.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1915, allocations: 15.92 kB / 0.6417 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.1963, allocations: 0.7874 MB / 0.6425 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.1978, allocations: 0.9026 MB / 0.6433 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.1981, allocations: 252.2 kB / 0.6436 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.1983, allocations: 91.94 kB / 0.6437 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.2005, allocations: 1.168 MB / 0.6448 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.2005, allocations: 3.938 kB / 0.6448 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.2006, allocations: 40 kB / 0.6449 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.2007, allocations: 20 kB / 0.6449 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.2028, allocations: 1.07 MB / 0.6459 GB, free: 6.988 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.00596/0.2088, allocations: 3.673 MB / 0.6495 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.2112, allocations: 1.552 MB / 0.651 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.2127, allocations: 0.7853 MB / 0.6518 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-05/0.2128, allocations: 9 kB / 0.6518 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/0.2145, allocations: 0.8957 MB / 0.6527 GB, free: 15.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.335e-06/0.2145, allocations: 0 / 0.6527 GB, free: 15.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02542/0.24, allocations: 6.965 MB / 0.6595 GB, free: 8.762 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.2401, allocations: 115.8 kB / 0.6596 GB, free: 8.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.2421, allocations: 1.031 MB / 0.6606 GB, free: 7.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.2423, allocations: 49.69 kB / 0.6606 GB, free: 7.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.2428, allocations: 0.5053 MB / 0.6611 GB, free: 7.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.2433, allocations: 396.7 kB / 0.6615 GB, free: 6.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.2439, allocations: 239.6 kB / 0.6617 GB, free: 6.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.244, allocations: 365.9 kB / 0.6621 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.2457, allocations: 0.7574 MB / 0.6628 GB, free: 5.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.2474, allocations: 0.9115 MB / 0.6637 GB, free: 4.316 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02082/0.2683, allocations: 5.425 MB / 0.669 GB, free: 14.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.2683, allocations: 0 / 0.669 GB, free: 14.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01434/0.2827, allocations: 4.515 MB / 0.6734 GB, free: 10.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.2828, allocations: 63.39 kB / 0.6735 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.2828, allocations: 4 kB / 0.6735 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006546/0.2893, allocations: 1.854 MB / 0.6753 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.2906, allocations: 255.6 kB / 0.6755 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.313, allocations: 9.461 MB / 0.6848 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.3149, allocations: 199 kB / 0.685 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.3152, allocations: 47.98 kB / 0.685 GB, free: 14.23 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.0007601/0.316, allocations: 292 kB / 0.6853 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.3164, allocations: 131.2 kB / 0.6854 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.33, allocations: 4.193 MB / 0.6895 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.33, allocations: 12 kB / 0.6895 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.33, allocations: 0 / 0.6895 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.3301, allocations: 7.922 kB / 0.6895 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.3464, allocations: 5.965 MB / 0.6954 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.3465, allocations: 4 kB / 0.6954 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.3473, allocations: 99.89 kB / 0.6955 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006164/0.3535, allocations: 1.836 MB / 0.6972 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.3537, allocations: 19.98 kB / 0.6973 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/0.3758, allocations: 10.32 MB / 0.7073 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3759, allocations: 7.938 kB / 0.7074 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.3917, allocations: 5.133 MB / 0.7124 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.3922, allocations: 232 kB / 0.7126 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.3926, allocations: 23.92 kB / 0.7126 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.3941, allocations: 111.9 kB / 0.7127 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007685/0.3949, allocations: 216.7 kB / 0.7129 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.395, allocations: 24 kB / 0.7129 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001289/0.3963, allocations: 0.7032 MB / 0.7136 GB, free: 384 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.715e-06/0.3963, allocations: 0 / 0.7136 GB, free: 384 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.3365/0.7328, allocations: 483.5 kB / 0.7141 GB, free: 84.44 MB / 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.000581/0.7334, allocations: 138.6 kB / 0.7142 GB, free: 84.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007612/0.741, allocations: 2.697 MB / 0.7169 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7411, allocations: 0.9688 kB / 0.7169 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005134/0.7462, allocations: 1.801 MB / 0.7186 GB, free: 83.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.7473, allocations: 110.1 kB / 0.7187 GB, free: 83.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.752, allocations: 2.382 MB / 0.7211 GB, free: 82.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/0.7528, allocations: 1.127 MB / 0.7222 GB, free: 82.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.7532, allocations: 107 kB / 0.7223 GB, free: 82.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.7535, allocations: 72.16 kB / 0.7223 GB, free: 82 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/0.7535, allocations: 0 / 0.7223 GB, free: 82 MB / 0.5137 GB Notification: Performance of Templates: time 0.04064/0.7942, allocations: 26.65 MB / 0.7484 GB, free: 71.14 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)