Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08637/0.08637, allocations: 12.21 MB / 27.47 MB, free: 0.9297 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.0007664/0.0007664, allocations: 95.52 kB / 31 MB, free: 4.535 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.471/1.471, allocations: 205.4 MB / 239.8 MB, free: 13.52 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.001027/0.001027, allocations: 180.5 kB / 291 MB, free: 11.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.448/0.448, allocations: 78.53 MB / 420.5 MB, free: 11.5 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.0008519/0.000852, allocations: 32 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3128, allocations: 69.22 MB / 0.5577 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005549/0.3184, allocations: 6.911 MB / 0.5645 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.3225, allocations: 2.114 MB / 0.5665 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009248/0.3234, allocations: 15.94 kB / 0.5665 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.3241, allocations: 202.7 kB / 0.5667 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.3257, allocations: 0.6836 MB / 0.5674 GB, free: 11.06 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3271, allocations: 0.6887 MB / 0.5681 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3283, allocations: 1.631 MB / 0.5697 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.3287, allocations: 359 kB / 0.57 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.3292, allocations: 0.6025 MB / 0.5706 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.3298, allocations: 0.7425 MB / 0.5713 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.33, allocations: 64 kB / 0.5714 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.3303, allocations: 199.8 kB / 0.5716 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3305, allocations: 262.6 kB / 0.5718 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.3309, allocations: 0.6576 MB / 0.5725 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.3319, allocations: 1.689 MB / 0.5741 GB, free: 4.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3319, allocations: 4 kB / 0.5741 GB, free: 4.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3319, allocations: 0 / 0.5741 GB, free: 4.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.332, allocations: 0 / 0.5741 GB, free: 4.137 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007718/0.3397, allocations: 2.65 MB / 0.5767 GB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3397, allocations: 11.98 kB / 0.5767 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.3445, allocations: 0.806 MB / 0.5775 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.3461, allocations: 0.9216 MB / 0.5784 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004159/0.3465, allocations: 343.6 kB / 0.5787 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.3467, allocations: 92 kB / 0.5788 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.3497, allocations: 1.369 MB / 0.5802 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3497, allocations: 0 / 0.5802 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3498, allocations: 36 kB / 0.5802 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.3498, allocations: 24 kB / 0.5802 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.3528, allocations: 1.288 MB / 0.5815 GB, free: 12.41 MB / 398.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.00749/0.3603, allocations: 4.265 MB / 0.5856 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.3639, allocations: 1.875 MB / 0.5875 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.3658, allocations: 0.9305 MB / 0.5884 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.3659, allocations: 28.86 kB / 0.5884 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.3681, allocations: 1.035 MB / 0.5894 GB, free: 3.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.855e-06/0.3681, allocations: 0 / 0.5894 GB, free: 3.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.03707/0.4052, allocations: 9.479 MB / 0.5987 GB, free: 10.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.4053, allocations: 115.8 kB / 0.5988 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.407, allocations: 1.041 MB / 0.5998 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002778/0.4073, allocations: 45.7 kB / 0.5998 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.4077, allocations: 0.5284 MB / 0.6004 GB, free: 8.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.4081, allocations: 390.5 kB / 0.6007 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.4083, allocations: 121.6 kB / 0.6008 GB, free: 8.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4085, allocations: 365.9 kB / 0.6012 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.4105, allocations: 0.8668 MB / 0.602 GB, free: 6.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.4127, allocations: 1.019 MB / 0.603 GB, free: 5.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02384/0.4366, allocations: 6.024 MB / 0.6089 GB, free: 15.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.4367, allocations: 3.938 kB / 0.6089 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01655/0.4532, allocations: 5.37 MB / 0.6142 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.4533, allocations: 59.41 kB / 0.6142 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4533, allocations: 7.938 kB / 0.6142 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006721/0.4601, allocations: 2.054 MB / 0.6162 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.4616, allocations: 291.6 kB / 0.6165 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.4837, allocations: 9.307 MB / 0.6256 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.4857, allocations: 250.8 kB / 0.6258 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.4858, allocations: 47.98 kB / 0.6259 GB, free: 14.17 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006389/0.4865, allocations: 309.1 kB / 0.6262 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.4867, allocations: 130.4 kB / 0.6263 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/0.5039, allocations: 5.338 MB / 0.6315 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.5039, allocations: 8 kB / 0.6315 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.504, allocations: 4 kB / 0.6315 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.504, allocations: 7.969 kB / 0.6315 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.5239, allocations: 7.208 MB / 0.6386 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.524, allocations: 3.938 kB / 0.6386 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.5248, allocations: 131.9 kB / 0.6387 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007448/0.5323, allocations: 2.223 MB / 0.6409 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.5325, allocations: 24 kB / 0.6409 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/0.5574, allocations: 10.63 MB / 0.6513 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5574, allocations: 4 kB / 0.6513 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/0.5773, allocations: 6.435 MB / 0.6576 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.5779, allocations: 227.2 kB / 0.6578 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.5782, allocations: 31.98 kB / 0.6578 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.5797, allocations: 175.8 kB / 0.658 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000735/0.5805, allocations: 232.6 kB / 0.6582 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-05/0.5806, allocations: 28 kB / 0.6582 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00109/0.5817, allocations: 0.7123 MB / 0.6589 GB, free: 11.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5817, allocations: 0 / 0.6589 GB, free: 11.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001613/0.5833, allocations: 487.4 kB / 0.6594 GB, free: 11.32 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003348/0.5837, allocations: 129.3 kB / 0.6595 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008057/0.5917, allocations: 3.009 MB / 0.6625 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5918, allocations: 0 / 0.6625 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005982/0.5978, allocations: 2.077 MB / 0.6645 GB, free: 6.023 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.5991, allocations: 123.5 kB / 0.6646 GB, free: 5.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.6044, allocations: 3.083 MB / 0.6676 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.6052, allocations: 1.151 MB / 0.6687 GB, free: 1.613 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005536/0.6057, allocations: 112.3 kB / 0.6688 GB, free: 1.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.606, allocations: 75.41 kB / 0.6689 GB, free: 1.426 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.606, allocations: 0 / 0.6689 GB, free: 1.426 MB / 478.1 MB Notification: Performance of Templates: time 0.2754/0.8814, allocations: 24.09 MB / 0.6924 GB, free: 117.8 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: