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-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.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-master/package.mo): time 0.1097/0.1097, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001058/0.001058, allocations: 107.4 kB / 31.83 MB, free: 3.898 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.351/1.351, 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.001324/0.001324, allocations: 191.2 kB / 290.7 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.4417/0.4417, allocations: 78.5 MB / 419.3 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.002647/0.002647, allocations: 138.5 kB / 0.5559 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1207, allocations: 68.12 MB / 0.6224 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008056/0.1288, allocations: 7.037 MB / 0.6293 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.1331, allocations: 2.083 MB / 0.6313 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.1343, allocations: 15.94 kB / 0.6313 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.1352, allocations: 253.8 kB / 0.6315 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.1379, allocations: 0.8384 MB / 0.6324 GB, free: 5.172 MB / 446.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.001875/0.1397, allocations: 0.756 MB / 0.6331 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.1419, allocations: 1.737 MB / 0.6348 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.1426, allocations: 387.6 kB / 0.6352 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1438, allocations: 0.7119 MB / 0.6359 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000938/0.1447, allocations: 0.8361 MB / 0.6367 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.1449, allocations: 132 kB / 0.6368 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.1454, allocations: 267.9 kB / 0.6371 GB, free: 336 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.1458, allocations: 346.6 kB / 0.6374 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.1464, allocations: 0.7184 MB / 0.6381 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.1481, allocations: 1.826 MB / 0.6399 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1481, allocations: 0 / 0.6399 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1481, allocations: 0 / 0.6399 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1482, allocations: 0 / 0.6399 GB, free: 13.43 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009077/0.1572, allocations: 2.844 MB / 0.6427 GB, free: 10.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1573, allocations: 15.98 kB / 0.6427 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.1626, allocations: 0.7865 MB / 0.6434 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.1642, allocations: 0.9333 MB / 0.6444 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.1646, allocations: 335.6 kB / 0.6447 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.1648, allocations: 95.91 kB / 0.6448 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.1676, allocations: 1.283 MB / 0.646 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1676, allocations: 3.938 kB / 0.646 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.1677, allocations: 36 kB / 0.6461 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.1678, allocations: 31.98 kB / 0.6461 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.1706, allocations: 1.195 MB / 0.6473 GB, free: 5.691 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.00705/0.1776, allocations: 4.168 MB / 0.6513 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/0.1812, allocations: 1.777 MB / 0.6531 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.1831, allocations: 0.8523 MB / 0.6539 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.975e-05/0.1832, allocations: 21 kB / 0.6539 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/0.1853, allocations: 0.9619 MB / 0.6548 GB, free: 13.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.695e-06/0.1853, allocations: 0 / 0.6548 GB, free: 13.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03469/0.22, allocations: 7.889 MB / 0.6626 GB, free: 5.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.2201, allocations: 115.8 kB / 0.6627 GB, free: 5.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.2216, allocations: 1.041 MB / 0.6637 GB, free: 4.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.2218, allocations: 41.7 kB / 0.6637 GB, free: 4.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.2222, allocations: 0.5284 MB / 0.6642 GB, free: 3.863 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.2226, allocations: 386.5 kB / 0.6646 GB, free: 3.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/0.2231, allocations: 251.4 kB / 0.6648 GB, free: 3.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2233, allocations: 358 kB / 0.6652 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.2252, allocations: 0.7847 MB / 0.666 GB, free: 2.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.2272, allocations: 0.9521 MB / 0.6669 GB, free: 1.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02334/0.2505, allocations: 5.493 MB / 0.6722 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.2506, allocations: 7.875 kB / 0.6723 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01552/0.2661, allocations: 4.456 MB / 0.6766 GB, free: 7.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.2662, allocations: 59.41 kB / 0.6767 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.2662, allocations: 0 / 0.6767 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006394/0.2726, allocations: 1.741 MB / 0.6784 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.2742, allocations: 279.6 kB / 0.6786 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/0.2971, allocations: 9.029 MB / 0.6874 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.2991, allocations: 206.8 kB / 0.6876 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.2994, allocations: 55.97 kB / 0.6877 GB, free: 11.5 MB / 0.4981 GB 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.000736/0.3002, allocations: 295.7 kB / 0.688 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.3005, allocations: 134.3 kB / 0.6881 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.3166, allocations: 4.397 MB / 0.6924 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.3166, allocations: 12 kB / 0.6924 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3166, allocations: 7.938 kB / 0.6924 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.3167, allocations: 11.97 kB / 0.6924 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/0.3357, allocations: 6.263 MB / 0.6985 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.3357, allocations: 0 / 0.6985 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/0.3365, allocations: 131.8 kB / 0.6987 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007032/0.3436, allocations: 1.891 MB / 0.7005 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.3438, allocations: 24 kB / 0.7005 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02571/0.3696, allocations: 10.71 MB / 0.711 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3696, allocations: 12.06 kB / 0.711 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2557/0.6253, allocations: 5.413 MB / 0.7163 GB, free: 82.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.6257, allocations: 221.1 kB / 0.7165 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.626, allocations: 27.59 kB / 0.7165 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.6274, allocations: 141.7 kB / 0.7167 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007499/0.6282, allocations: 231.4 kB / 0.7169 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.6283, allocations: 35.45 kB / 0.7169 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001101/0.6294, allocations: 0.7044 MB / 0.7176 GB, free: 82.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6294, allocations: 0 / 0.7176 GB, free: 82.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001364/0.6308, allocations: 481.2 kB / 0.7181 GB, free: 82.61 MB / 0.5137 GB 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.0002494/0.631, allocations: 145.5 kB / 0.7182 GB, free: 82.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007319/0.6383, allocations: 2.729 MB / 0.7209 GB, free: 82.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6384, allocations: 0 / 0.7209 GB, free: 82.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005438/0.6438, allocations: 1.884 MB / 0.7227 GB, free: 81.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.6448, allocations: 126.8 kB / 0.7228 GB, free: 81.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.6491, allocations: 2.468 MB / 0.7252 GB, free: 80.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.6498, allocations: 1.149 MB / 0.7264 GB, free: 79.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004495/0.6502, allocations: 124.6 kB / 0.7265 GB, free: 79.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.6505, allocations: 86.05 kB / 0.7266 GB, free: 79.64 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.6505, allocations: 0 / 0.7266 GB, free: 79.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.03245/0.683, allocations: 27.61 MB / 0.7535 GB, free: 65.51 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (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)