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.121/0.121, allocations: 12.19 MB / 27.43 MB, free: 1.398 MB / 19.64 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 119.4 kB / 30.94 MB, free: 4.668 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.326/1.326, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001264/0.001264, allocations: 188.5 kB / 289.6 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4107/0.4107, allocations: 78.5 MB / 418.1 MB, free: 31.73 MB / 318.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.002297/0.002297, allocations: 127.8 kB / 498.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3658, allocations: 68.04 MB / 0.5532 GB, free: 37.88 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008488/0.3744, allocations: 7.387 MB / 0.5604 GB, free: 32.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.3815, allocations: 2.118 MB / 0.5625 GB, free: 30.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.3833, allocations: 13.22 kB / 0.5625 GB, free: 30.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009955/0.3843, allocations: 202.5 kB / 0.5627 GB, free: 30.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.387, allocations: 0.6739 MB / 0.5633 GB, free: 30.44 MB / 414.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.001808/0.3888, allocations: 0.7 MB / 0.564 GB, free: 30.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.3913, allocations: 1.721 MB / 0.5657 GB, free: 29.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006444/0.392, allocations: 405.7 kB / 0.5661 GB, free: 28.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3932, allocations: 0.712 MB / 0.5668 GB, free: 28.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.394, allocations: 0.8398 MB / 0.5676 GB, free: 28.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.3942, allocations: 131.4 kB / 0.5677 GB, free: 28.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.3948, allocations: 278.6 kB / 0.568 GB, free: 28.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.395, allocations: 343.9 kB / 0.5683 GB, free: 27.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.3956, allocations: 0.7235 MB / 0.569 GB, free: 27.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.3973, allocations: 1.793 MB / 0.5708 GB, free: 26.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3973, allocations: 0 / 0.5708 GB, free: 26.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3973, allocations: 0 / 0.5708 GB, free: 26.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.06e-05/0.3974, allocations: 0 / 0.5708 GB, free: 26.61 MB / 414.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.008787/0.4062, allocations: 2.843 MB / 0.5735 GB, free: 25.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4062, allocations: 15.67 kB / 0.5735 GB, free: 25.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004718/0.4109, allocations: 0.794 MB / 0.5743 GB, free: 25.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.4126, allocations: 0.9232 MB / 0.5752 GB, free: 24.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003127/0.413, allocations: 328 kB / 0.5755 GB, free: 24.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.4132, allocations: 94.06 kB / 0.5756 GB, free: 24.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.4157, allocations: 1.292 MB / 0.5769 GB, free: 23.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.4157, allocations: 0 / 0.5769 GB, free: 23.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.4158, allocations: 36.44 kB / 0.5769 GB, free: 23.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.4159, allocations: 21.06 kB / 0.5769 GB, free: 23.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.4185, allocations: 1.209 MB / 0.5781 GB, free: 23.26 MB / 414.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.007305/0.4258, allocations: 4.171 MB / 0.5822 GB, free: 20.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.4291, allocations: 1.769 MB / 0.5839 GB, free: 19.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.431, allocations: 0.8613 MB / 0.5848 GB, free: 19.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.4312, allocations: 20.17 kB / 0.5848 GB, free: 19.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/0.4334, allocations: 0.9684 MB / 0.5857 GB, free: 19.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=108): time 3.176e-06/0.4334, allocations: 0 / 0.5857 GB, free: 19.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.03262/0.466, allocations: 7.886 MB / 0.5934 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.4661, allocations: 115 kB / 0.5935 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.4678, allocations: 1.05 MB / 0.5946 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003638/0.4682, allocations: 46.48 kB / 0.5946 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.4685, allocations: 0.5201 MB / 0.5951 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.4689, allocations: 387.3 kB / 0.5955 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.4694, allocations: 248.8 kB / 0.5957 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.4695, allocations: 356.8 kB / 0.5961 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.4712, allocations: 0.7918 MB / 0.5968 GB, free: 13.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.4729, allocations: 0.9498 MB / 0.5978 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01977/0.4926, allocations: 5.504 MB / 0.6031 GB, free: 7.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4927, allocations: 11.88 kB / 0.6032 GB, free: 7.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01215/0.5049, allocations: 4.452 MB / 0.6075 GB, free: 2.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.505, allocations: 63.39 kB / 0.6076 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.505, allocations: 8 kB / 0.6076 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.5103, allocations: 1.74 MB / 0.6093 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.5118, allocations: 287.6 kB / 0.6095 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.5321, allocations: 9.047 MB / 0.6184 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.5342, allocations: 210.8 kB / 0.6186 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.5344, allocations: 43.98 kB / 0.6186 GB, free: 7.02 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.0007243/0.5351, allocations: 301.7 kB / 0.6189 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.5354, allocations: 134.3 kB / 0.619 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.5496, allocations: 4.405 MB / 0.6233 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.5497, allocations: 8 kB / 0.6233 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5497, allocations: 4 kB / 0.6234 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/0.5497, allocations: 3.984 kB / 0.6234 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/0.5667, allocations: 6.268 MB / 0.6295 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.5668, allocations: 3.984 kB / 0.6295 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008643/0.5677, allocations: 127.9 kB / 0.6296 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006618/0.5743, allocations: 1.903 MB / 0.6315 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/0.5748, allocations: 23.98 kB / 0.6315 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.598, allocations: 10.73 MB / 0.642 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5981, allocations: 4 kB / 0.642 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.6146, allocations: 5.415 MB / 0.6473 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.6151, allocations: 231.1 kB / 0.6475 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.6154, allocations: 24 kB / 0.6475 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6167, allocations: 135.8 kB / 0.6476 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008561/0.6175, allocations: 236.6 kB / 0.6479 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/0.6176, allocations: 35.92 kB / 0.6479 GB, free: 8.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.6187, allocations: 0.7006 MB / 0.6486 GB, free: 7.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6187, allocations: 0 / 0.6486 GB, free: 7.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001405/0.6201, allocations: 483.5 kB / 0.649 GB, free: 7.34 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.000288/0.6204, allocations: 136.4 kB / 0.6492 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007148/0.6275, allocations: 2.769 MB / 0.6519 GB, free: 4.391 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6276, allocations: 192 / 0.6519 GB, free: 4.391 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00511/0.6327, allocations: 1.88 MB / 0.6537 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.6342, allocations: 138.9 kB / 0.6538 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.6401, allocations: 2.963 MB / 0.6567 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.641, allocations: 1.151 MB / 0.6579 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005749/0.6416, allocations: 120.3 kB / 0.658 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6418, allocations: 75.42 kB / 0.658 GB, free: 13.96 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6418, allocations: 0 / 0.658 GB, free: 13.96 MB / 478.1 MB Notification: Performance of Templates: time 0.03692/0.6788, allocations: 26.16 MB / 0.6836 GB, free: 3.797 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)