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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08099/0.08099, allocations: 12.6 MB / 28.1 MB, free: 0.832 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.001036/0.001036, allocations: 107.5 kB / 31.69 MB, free: 3.965 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.296/1.296, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001314/0.001315, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4269/0.4269, allocations: 78.5 MB / 419.2 MB, free: 11.35 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.00291/0.00291, allocations: 135.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.287, allocations: 68.11 MB / 0.5547 GB, free: 32.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006448/0.2935, allocations: 6.661 MB / 0.5612 GB, free: 28.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.297, allocations: 2 MB / 0.5631 GB, free: 26.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.2975, allocations: 14.59 kB / 0.5632 GB, free: 26.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.2982, allocations: 240.8 kB / 0.5634 GB, free: 26.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.2996, allocations: 0.7714 MB / 0.5641 GB, free: 25.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3008, allocations: 0.6749 MB / 0.5648 GB, free: 25.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.302, allocations: 1.627 MB / 0.5664 GB, free: 24.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.3025, allocations: 345.6 kB / 0.5667 GB, free: 23.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.3031, allocations: 0.6641 MB / 0.5674 GB, free: 23.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.3038, allocations: 0.8118 MB / 0.5682 GB, free: 22.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.304, allocations: 123.8 kB / 0.5683 GB, free: 22.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3045, allocations: 260.4 kB / 0.5685 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.3047, allocations: 331.1 kB / 0.5688 GB, free: 22.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.3052, allocations: 0.6867 MB / 0.5695 GB, free: 22.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3064, allocations: 1.669 MB / 0.5711 GB, free: 20.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3064, allocations: 1.281 kB / 0.5711 GB, free: 20.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3065, allocations: 0 / 0.5711 GB, free: 20.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.3065, allocations: 0 / 0.5711 GB, free: 20.84 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.008503/0.315, allocations: 2.775 MB / 0.5739 GB, free: 19.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.315, allocations: 13.48 kB / 0.5739 GB, free: 19.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.3152, allocations: 134.7 kB / 0.574 GB, free: 18.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.3201, allocations: 0.7761 MB / 0.5748 GB, free: 18.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3213, allocations: 0.8842 MB / 0.5756 GB, free: 17.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.3215, allocations: 260.2 kB / 0.5759 GB, free: 17.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3217, allocations: 88.16 kB / 0.5759 GB, free: 17.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.3236, allocations: 1.172 MB / 0.5771 GB, free: 16.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3237, allocations: 3.984 kB / 0.5771 GB, free: 16.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/0.3238, allocations: 35.94 kB / 0.5771 GB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3238, allocations: 23.94 kB / 0.5772 GB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.3257, allocations: 1.077 MB / 0.5782 GB, free: 15.38 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.005003/0.3307, allocations: 3.672 MB / 0.5818 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.3328, allocations: 1.559 MB / 0.5833 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3341, allocations: 0.7814 MB / 0.5841 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.454e-05/0.3342, allocations: 20.92 kB / 0.5841 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.3358, allocations: 0.8919 MB / 0.585 GB, free: 8.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 2.785e-06/0.3358, allocations: 0 / 0.585 GB, free: 8.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.02429/0.3601, allocations: 6.964 MB / 0.5918 GB, free: 1.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3602, allocations: 115.8 kB / 0.5919 GB, free: 1.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3615, allocations: 1.023 MB / 0.5929 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.3616, allocations: 41.7 kB / 0.5929 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.362, allocations: 0.5085 MB / 0.5934 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.3623, allocations: 370.7 kB / 0.5938 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.3628, allocations: 247.4 kB / 0.594 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.363, allocations: 357.9 kB / 0.5943 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.3646, allocations: 0.7652 MB / 0.5951 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.3664, allocations: 0.9116 MB / 0.596 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02136/0.3878, allocations: 5.428 MB / 0.6013 GB, free: 7.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3878, allocations: 4 kB / 0.6013 GB, free: 7.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01429/0.4021, allocations: 4.51 MB / 0.6057 GB, free: 2.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.4022, allocations: 59.41 kB / 0.6057 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4022, allocations: 7.938 kB / 0.6058 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006862/0.4091, allocations: 1.854 MB / 0.6076 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4104, allocations: 251.6 kB / 0.6078 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.4328, allocations: 9.475 MB / 0.6171 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.4347, allocations: 198.8 kB / 0.6172 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.4349, allocations: 47.98 kB / 0.6173 GB, free: 6.633 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.0005577/0.4354, allocations: 293.1 kB / 0.6176 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.4356, allocations: 122.5 kB / 0.6177 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.4499, allocations: 4.185 MB / 0.6218 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4499, allocations: 16 kB / 0.6218 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.45, allocations: 3.938 kB / 0.6218 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.45, allocations: 7.922 kB / 0.6218 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.4657, allocations: 5.969 MB / 0.6276 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4657, allocations: 0 / 0.6276 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.4664, allocations: 107.9 kB / 0.6277 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006257/0.4727, allocations: 1.836 MB / 0.6295 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4728, allocations: 20 kB / 0.6295 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.4945, allocations: 10.33 MB / 0.6396 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4946, allocations: 3.938 kB / 0.6396 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/0.5102, allocations: 5.138 MB / 0.6447 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.5107, allocations: 219.3 kB / 0.6449 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.511, allocations: 23.94 kB / 0.6449 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.5124, allocations: 115.9 kB / 0.645 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/0.513, allocations: 208.7 kB / 0.6452 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.5131, allocations: 27.98 kB / 0.6452 GB, free: 9.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.5143, allocations: 0.7071 MB / 0.6459 GB, free: 8.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5144, allocations: 0 / 0.6459 GB, free: 8.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001541/0.5159, allocations: 483.4 kB / 0.6464 GB, free: 8.309 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.01579/0.5317, allocations: 5.721 MB / 0.652 GB, free: 2.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007758/0.5395, allocations: 2.722 MB / 0.6546 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5395, allocations: 0 / 0.6546 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005129/0.5446, allocations: 1.792 MB / 0.6564 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5458, allocations: 126.7 kB / 0.6565 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0423/0.5881, allocations: 17.33 MB / 0.6734 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/0.589, allocations: 1.128 MB / 0.6745 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004602/0.5894, allocations: 103.9 kB / 0.6746 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.5901, allocations: 483.2 kB / 0.6751 GB, free: 10.33 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5901, allocations: 0 / 0.6751 GB, free: 10.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/0.6595, allocations: 36.81 MB / 0.711 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.78, allocations: 10.41 kB / 0.711 GB, free: 5.594 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)