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.07711/0.07711, allocations: 12.61 MB / 28.86 MB, free: 400 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 111.5 kB / 32.46 MB, free: 3.453 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.353/1.353, allocations: 205.1 MB / 241.1 MB, free: 12.4 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.001318/0.001318, allocations: 195.4 kB / 291.3 MB, free: 10.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4598/0.4598, allocations: 78.52 MB / 419.9 MB, free: 10.8 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.002761/0.002761, allocations: 132.9 kB / 0.4895 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2894, allocations: 68.13 MB / 0.556 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005593/0.2951, allocations: 7.025 MB / 0.5629 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.2982, allocations: 2.09 MB / 0.5649 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.2986, allocations: 15.94 kB / 0.5649 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.2992, allocations: 257.8 kB / 0.5652 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.3006, allocations: 0.7695 MB / 0.5659 GB, free: 11.1 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.001213/0.3018, allocations: 0.7636 MB / 0.5667 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.3029, allocations: 1.721 MB / 0.5684 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.3033, allocations: 407.5 kB / 0.5687 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005547/0.3039, allocations: 0.6964 MB / 0.5694 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.3045, allocations: 0.8477 MB / 0.5703 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.3047, allocations: 132 kB / 0.5704 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.305, allocations: 271.9 kB / 0.5706 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.3053, allocations: 350.6 kB / 0.571 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.3057, allocations: 0.7146 MB / 0.5717 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3068, allocations: 1.814 MB / 0.5734 GB, free: 3.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3068, allocations: 0 / 0.5734 GB, free: 3.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3068, allocations: 3.938 kB / 0.5734 GB, free: 3.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3068, allocations: 0 / 0.5734 GB, free: 3.371 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.007717/0.3146, allocations: 2.848 MB / 0.5762 GB, free: 464 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3146, allocations: 15.98 kB / 0.5762 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.3194, allocations: 0.7943 MB / 0.577 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.3211, allocations: 0.9294 MB / 0.5779 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.3215, allocations: 323.6 kB / 0.5782 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.3217, allocations: 95.91 kB / 0.5783 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.3242, allocations: 1.295 MB / 0.5796 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3243, allocations: 0 / 0.5796 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/0.3244, allocations: 40 kB / 0.5796 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3244, allocations: 24 kB / 0.5797 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.327, allocations: 1.198 MB / 0.5808 GB, free: 11.62 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.007027/0.334, allocations: 4.144 MB / 0.5849 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.3373, allocations: 1.779 MB / 0.5866 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.3389, allocations: 0.8523 MB / 0.5874 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3391, allocations: 20.97 kB / 0.5875 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.341, allocations: 0.9645 MB / 0.5884 GB, free: 3.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.765e-06/0.341, allocations: 4 kB / 0.5884 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.03134/0.3723, allocations: 7.889 MB / 0.5961 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.3725, allocations: 119.8 kB / 0.5962 GB, free: 11.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.3741, allocations: 1.041 MB / 0.5972 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.3743, allocations: 45.7 kB / 0.5973 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.3747, allocations: 0.5284 MB / 0.5978 GB, free: 9.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.3751, allocations: 390.5 kB / 0.5982 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.3756, allocations: 247.5 kB / 0.5984 GB, free: 9.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3757, allocations: 353.9 kB / 0.5987 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.3774, allocations: 0.7847 MB / 0.5995 GB, free: 8.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.3793, allocations: 0.9479 MB / 0.6004 GB, free: 7.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/0.4013, allocations: 5.492 MB / 0.6058 GB, free: 1.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.4013, allocations: 3.938 kB / 0.6058 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01378/0.4151, allocations: 4.46 MB / 0.6102 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.4152, allocations: 63.39 kB / 0.6102 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4152, allocations: 0 / 0.6102 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/0.4211, allocations: 1.738 MB / 0.6119 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.4227, allocations: 283.6 kB / 0.6122 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.4435, allocations: 9.027 MB / 0.621 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.4454, allocations: 210.8 kB / 0.6212 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.4456, allocations: 51.92 kB / 0.6213 GB, free: 1.457 MB / 430.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.0006832/0.4463, allocations: 299.7 kB / 0.6215 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.4466, allocations: 134.3 kB / 0.6217 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/0.4609, allocations: 4.397 MB / 0.626 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.4609, allocations: 12 kB / 0.626 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.461, allocations: 0 / 0.626 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.461, allocations: 3.984 kB / 0.626 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.4778, allocations: 6.271 MB / 0.6321 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4778, allocations: 3.984 kB / 0.6321 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.4785, allocations: 123.9 kB / 0.6322 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006033/0.4846, allocations: 1.895 MB / 0.6341 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.4847, allocations: 27.98 kB / 0.6341 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/0.5071, allocations: 10.71 MB / 0.6446 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5072, allocations: 0 / 0.6446 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.5228, allocations: 5.429 MB / 0.6499 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.5233, allocations: 219.2 kB / 0.6501 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.5236, allocations: 24 kB / 0.6501 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.525, allocations: 135.8 kB / 0.6502 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007707/0.5258, allocations: 240.6 kB / 0.6505 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.5259, allocations: 31.98 kB / 0.6505 GB, free: 2.984 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.5271, allocations: 0.7006 MB / 0.6512 GB, free: 2.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5271, allocations: 4 kB / 0.6512 GB, free: 2.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001492/0.5286, allocations: 487.4 kB / 0.6516 GB, free: 1.797 MB / 462.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.0003003/0.5289, allocations: 127.8 kB / 0.6518 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006787/0.5357, allocations: 2.734 MB / 0.6544 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5357, allocations: 0 / 0.6544 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/0.5407, allocations: 1.896 MB / 0.6563 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5417, allocations: 124.7 kB / 0.6564 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.5466, allocations: 2.473 MB / 0.6588 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.5474, allocations: 1.147 MB / 0.6599 GB, free: 9.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.5478, allocations: 124.3 kB / 0.6601 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.5481, allocations: 79.42 kB / 0.6601 GB, free: 8.949 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5481, allocations: 0 / 0.6601 GB, free: 8.949 MB / 478.1 MB Notification: Performance of Templates: time 0.2587/0.8068, allocations: 27.36 MB / 0.6868 GB, free: 118.2 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)