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.09119/0.09119, allocations: 12.61 MB / 28.87 MB, free: 0.6406 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.001155, allocations: 111.4 kB / 32.46 MB, free: 3.59 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.445/1.445, allocations: 205.1 MB / 241.1 MB, free: 12.39 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.002162/0.002161, allocations: 183.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4624/0.4624, allocations: 78.5 MB / 419.9 MB, free: 11.31 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.002834/0.002834, allocations: 143.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3499, allocations: 68.11 MB / 0.556 GB, free: 33.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007337/0.3573, allocations: 7.029 MB / 0.5629 GB, free: 27.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.3618, allocations: 2.085 MB / 0.5649 GB, free: 26.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006853/0.3625, allocations: 16.5 kB / 0.5649 GB, free: 26.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.3633, allocations: 259.7 kB / 0.5652 GB, free: 25.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.3649, allocations: 0.771 MB / 0.5659 GB, free: 25.28 MB / 398.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.001393/0.3663, allocations: 0.7613 MB / 0.5667 GB, free: 24.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.3679, allocations: 1.725 MB / 0.5684 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.3685, allocations: 412.3 kB / 0.5688 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009757/0.3694, allocations: 0.696 MB / 0.5694 GB, free: 22.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009665/0.3704, allocations: 0.8455 MB / 0.5703 GB, free: 22.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.3707, allocations: 130.9 kB / 0.5704 GB, free: 22.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.3714, allocations: 269.6 kB / 0.5706 GB, free: 22.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.3717, allocations: 354.5 kB / 0.571 GB, free: 22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.3724, allocations: 0.7152 MB / 0.5717 GB, free: 21.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3743, allocations: 1.82 MB / 0.5735 GB, free: 20.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3743, allocations: 0 / 0.5735 GB, free: 20.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3743, allocations: 0 / 0.5735 GB, free: 20.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.3744, allocations: 0 / 0.5735 GB, free: 20.08 MB / 398.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.009506/0.3839, allocations: 2.846 MB / 0.5762 GB, free: 18.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3839, allocations: 12.67 kB / 0.5762 GB, free: 18.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.3889, allocations: 0.7882 MB / 0.577 GB, free: 17.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.3905, allocations: 0.9372 MB / 0.5779 GB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.3908, allocations: 331.6 kB / 0.5782 GB, free: 16.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.391, allocations: 99.91 kB / 0.5783 GB, free: 16.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.3933, allocations: 1.287 MB / 0.5796 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3933, allocations: 0 / 0.5796 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3934, allocations: 43.98 kB / 0.5796 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.3934, allocations: 20 kB / 0.5797 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.3957, allocations: 1.195 MB / 0.5808 GB, free: 13.75 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.005894/0.4016, allocations: 4.16 MB / 0.5849 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.4044, allocations: 1.768 MB / 0.5866 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.4058, allocations: 0.8523 MB / 0.5874 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.406, allocations: 24.98 kB / 0.5875 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/0.4076, allocations: 0.9529 MB / 0.5884 GB, free: 5.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.685e-06/0.4076, allocations: 4 kB / 0.5884 GB, free: 5.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.02999/0.4376, allocations: 7.901 MB / 0.5961 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.4377, allocations: 111.8 kB / 0.5962 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.4395, allocations: 1.041 MB / 0.5972 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.4398, allocations: 41.7 kB / 0.5973 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.4402, allocations: 0.5284 MB / 0.5978 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.4407, allocations: 386.5 kB / 0.5982 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.4412, allocations: 251.5 kB / 0.5984 GB, free: 11.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4413, allocations: 353.9 kB / 0.5987 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.4431, allocations: 0.7847 MB / 0.5995 GB, free: 10.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4449, allocations: 0.9444 MB / 0.6004 GB, free: 9.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02209/0.467, allocations: 5.496 MB / 0.6058 GB, free: 3.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.4671, allocations: 7.938 kB / 0.6058 GB, free: 3.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01373/0.4808, allocations: 4.456 MB / 0.6102 GB, free: 15.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.315e-05/0.481, allocations: 59.41 kB / 0.6102 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.481, allocations: 7.938 kB / 0.6102 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/0.4868, allocations: 1.745 MB / 0.6119 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.4884, allocations: 275.6 kB / 0.6122 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.5086, allocations: 9.028 MB / 0.621 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.5108, allocations: 206.8 kB / 0.6212 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.5109, allocations: 51.97 kB / 0.6213 GB, free: 3.578 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.0006562/0.5116, allocations: 302.8 kB / 0.6215 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.5118, allocations: 130.3 kB / 0.6217 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.5259, allocations: 4.397 MB / 0.626 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.526, allocations: 12 kB / 0.626 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.526, allocations: 0 / 0.626 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.526, allocations: 7.969 kB / 0.626 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.5432, allocations: 6.267 MB / 0.6321 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.5433, allocations: 3.938 kB / 0.6321 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/0.5442, allocations: 127.8 kB / 0.6322 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006347/0.5505, allocations: 1.899 MB / 0.6341 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.5508, allocations: 20 kB / 0.6341 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/0.5737, allocations: 10.72 MB / 0.6446 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5738, allocations: 0 / 0.6446 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.5902, allocations: 5.429 MB / 0.6499 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.591, allocations: 223.3 kB / 0.6501 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.5912, allocations: 24 kB / 0.6501 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.5926, allocations: 135.8 kB / 0.6502 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007668/0.5934, allocations: 236.6 kB / 0.6505 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.5935, allocations: 31.98 kB / 0.6505 GB, free: 5.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.5945, allocations: 0.7006 MB / 0.6512 GB, free: 4.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5945, allocations: 4 kB / 0.6512 GB, free: 4.395 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001515/0.5961, allocations: 487.4 kB / 0.6516 GB, free: 3.918 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.0003088/0.5964, allocations: 131.9 kB / 0.6518 GB, free: 3.781 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006757/0.6031, allocations: 2.73 MB / 0.6544 GB, free: 1.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6032, allocations: 3.938 kB / 0.6544 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004899/0.6081, allocations: 1.884 MB / 0.6563 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6091, allocations: 137.3 kB / 0.6564 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.6138, allocations: 2.467 MB / 0.6588 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.6145, allocations: 1.151 MB / 0.6599 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.615, allocations: 120.3 kB / 0.6601 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.6153, allocations: 83.42 kB / 0.6601 GB, free: 11.07 MB / 478.1 MB Notification: Performance of SimCode: time 2.785e-06/0.6153, allocations: 0 / 0.6601 GB, free: 11.07 MB / 478.1 MB Notification: Performance of Templates: time 0.04374/0.659, allocations: 27.35 MB / 0.6868 GB, free: 15.73 MB / 0.4981 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)