Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08027/0.08027, allocations: 12.6 MB / 28.85 MB, free: 280 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.001063/0.001063, allocations: 115.4 kB / 32.46 MB, free: 3.414 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.338/1.338, allocations: 205.1 MB / 241 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.001879/0.001878, allocations: 184.5 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4457/0.4457, allocations: 78.51 MB / 419.9 MB, free: 11.26 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.002654/0.002654, allocations: 139.8 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3334, allocations: 68.1 MB / 0.556 GB, free: 32.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006676/0.3401, allocations: 6.667 MB / 0.5625 GB, free: 28.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.3443, allocations: 1.995 MB / 0.5645 GB, free: 26.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.3449, allocations: 11.81 kB / 0.5645 GB, free: 26.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.3456, allocations: 251.2 kB / 0.5647 GB, free: 26.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.3473, allocations: 0.7703 MB / 0.5655 GB, free: 25.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3486, allocations: 0.6663 MB / 0.5661 GB, free: 25.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.35, allocations: 1.644 MB / 0.5677 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.3505, allocations: 350.4 kB / 0.568 GB, free: 23.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.3512, allocations: 0.6666 MB / 0.5687 GB, free: 23.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007771/0.352, allocations: 0.804 MB / 0.5695 GB, free: 22.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.3522, allocations: 124.6 kB / 0.5696 GB, free: 22.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.3528, allocations: 264.1 kB / 0.5699 GB, free: 22.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.353, allocations: 334.3 kB / 0.5702 GB, free: 22.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.3536, allocations: 0.6669 MB / 0.5708 GB, free: 22.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.355, allocations: 1.709 MB / 0.5725 GB, free: 20.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.355, allocations: 4 kB / 0.5725 GB, free: 20.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.355, allocations: 0 / 0.5725 GB, free: 20.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.355, allocations: 0 / 0.5725 GB, free: 20.74 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008361/0.3634, allocations: 2.755 MB / 0.5752 GB, free: 19.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3634, allocations: 14.02 kB / 0.5752 GB, free: 19.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.3682, allocations: 0.7913 MB / 0.576 GB, free: 18.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.3698, allocations: 0.8963 MB / 0.5768 GB, free: 17.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.3701, allocations: 252.2 kB / 0.5771 GB, free: 17.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.3702, allocations: 91.91 kB / 0.5772 GB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.3722, allocations: 1.168 MB / 0.5783 GB, free: 16.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.3722, allocations: 7.938 kB / 0.5783 GB, free: 16.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.3723, allocations: 31.98 kB / 0.5784 GB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3724, allocations: 23.94 kB / 0.5784 GB, free: 16.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.3743, allocations: 1.074 MB / 0.5794 GB, free: 15.18 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.005172/0.3795, allocations: 3.645 MB / 0.583 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.3814, allocations: 1.556 MB / 0.5845 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.3827, allocations: 0.7929 MB / 0.5853 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3828, allocations: 17 kB / 0.5853 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.3843, allocations: 0.8918 MB / 0.5862 GB, free: 7.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 2.966e-06/0.3843, allocations: 0 / 0.5862 GB, free: 7.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.02304/0.4073, allocations: 6.964 MB / 0.593 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4074, allocations: 115.8 kB / 0.5931 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.4088, allocations: 1.027 MB / 0.5941 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.409, allocations: 45.7 kB / 0.5941 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.4094, allocations: 0.4968 MB / 0.5946 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.4099, allocations: 378.7 kB / 0.595 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.4103, allocations: 247.4 kB / 0.5952 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4105, allocations: 353.9 kB / 0.5955 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.4121, allocations: 0.7652 MB / 0.5963 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.4138, allocations: 0.9115 MB / 0.5972 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02061/0.4344, allocations: 5.41 MB / 0.6025 GB, free: 7.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4345, allocations: 3.938 kB / 0.6025 GB, free: 7.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01381/0.4483, allocations: 4.507 MB / 0.6069 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.4484, allocations: 59.41 kB / 0.6069 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4484, allocations: 7.984 kB / 0.6069 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006417/0.4548, allocations: 1.854 MB / 0.6087 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4562, allocations: 251.6 kB / 0.609 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.4776, allocations: 9.461 MB / 0.6182 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.4796, allocations: 194.7 kB / 0.6184 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4798, allocations: 55.98 kB / 0.6185 GB, free: 6.488 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005845/0.4803, allocations: 291.2 kB / 0.6187 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.4806, allocations: 122.5 kB / 0.6189 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.4937, allocations: 4.193 MB / 0.6229 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.4938, allocations: 8 kB / 0.623 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4938, allocations: 4 kB / 0.623 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/0.4938, allocations: 7.922 kB / 0.623 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.5091, allocations: 5.961 MB / 0.6288 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.5092, allocations: 0 / 0.6288 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/0.51, allocations: 103.9 kB / 0.6289 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005948/0.516, allocations: 1.84 MB / 0.6307 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.5162, allocations: 20 kB / 0.6307 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/0.5377, allocations: 10.31 MB / 0.6408 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5377, allocations: 3.938 kB / 0.6408 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.5528, allocations: 5.14 MB / 0.6458 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.5534, allocations: 215.3 kB / 0.646 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004373/0.5538, allocations: 27.94 kB / 0.646 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.5553, allocations: 111.9 kB / 0.6461 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007332/0.556, allocations: 208.7 kB / 0.6463 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.5562, allocations: 31.98 kB / 0.6464 GB, free: 9.375 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001246/0.5574, allocations: 0.7032 MB / 0.647 GB, free: 8.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5574, allocations: 0 / 0.647 GB, free: 8.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001778/0.5592, allocations: 483.5 kB / 0.6475 GB, free: 8.191 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * 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 (64): * Single equations (assignments): 61 * 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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/0.5596, allocations: 139.5 kB / 0.6476 GB, free: 8.047 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006976/0.5666, allocations: 2.678 MB / 0.6503 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5666, allocations: 0 / 0.6503 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004916/0.5715, allocations: 1.807 MB / 0.652 GB, free: 3.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5726, allocations: 112.4 kB / 0.6521 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00476/0.5774, allocations: 2.349 MB / 0.6544 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.5783, allocations: 1.132 MB / 0.6555 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.5788, allocations: 111.9 kB / 0.6556 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.5791, allocations: 71.42 kB / 0.6557 GB, free: 15.65 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5791, allocations: 0 / 0.6557 GB, free: 15.65 MB / 478.1 MB Notification: Performance of Templates: time 0.0389/0.618, allocations: 26.36 MB / 0.6814 GB, free: 5.305 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)