Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005192/0.005192, allocations: 99.03 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 239.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 188.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4811/0.4811, allocations: 78.52 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 79.88 kB / 0.5531 GB, free: 1.539 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3759, allocations: 68.17 MB / 0.6197 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005988/0.382, allocations: 6.634 MB / 0.6262 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.386, allocations: 2.024 MB / 0.6282 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.387, allocations: 11.94 kB / 0.6282 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.3879, allocations: 241.9 kB / 0.6284 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.3899, allocations: 0.81 MB / 0.6292 GB, free: 468 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3913, allocations: 0.6786 MB / 0.6298 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.3931, allocations: 1.643 MB / 0.6315 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005314/0.3936, allocations: 342.9 kB / 0.6318 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.3946, allocations: 0.673 MB / 0.6324 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009101/0.3955, allocations: 0.8128 MB / 0.6332 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.3957, allocations: 124 kB / 0.6334 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.3962, allocations: 255.9 kB / 0.6336 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.3965, allocations: 330.6 kB / 0.6339 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.3972, allocations: 0.6718 MB / 0.6346 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.3989, allocations: 1.709 MB / 0.6362 GB, free: 9.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3989, allocations: 0 / 0.6362 GB, free: 9.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.399, allocations: 0 / 0.6362 GB, free: 9.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.667e-05/0.399, allocations: 0 / 0.6362 GB, free: 9.211 MB / 446.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.008766/0.4078, allocations: 2.758 MB / 0.6389 GB, free: 6.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4078, allocations: 12.03 kB / 0.6389 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.408, allocations: 130.9 kB / 0.6391 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.4129, allocations: 0.7904 MB / 0.6398 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.4146, allocations: 0.886 MB / 0.6407 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.4149, allocations: 260.1 kB / 0.6409 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4151, allocations: 91.91 kB / 0.641 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.4173, allocations: 1.176 MB / 0.6422 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.4174, allocations: 0 / 0.6422 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/0.4175, allocations: 28 kB / 0.6422 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.4175, allocations: 20 kB / 0.6422 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.4198, allocations: 1.077 MB / 0.6433 GB, free: 1.805 MB / 446.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.006341/0.4261, allocations: 3.668 MB / 0.6469 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.4286, allocations: 1.551 MB / 0.6484 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.4301, allocations: 0.7777 MB / 0.6491 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.4303, allocations: 20.92 kB / 0.6492 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.432, allocations: 0.8881 MB / 0.65 GB, free: 10.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 2.975e-06/0.432, allocations: 3.938 kB / 0.65 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02532/0.4574, allocations: 6.953 MB / 0.6568 GB, free: 3.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.4575, allocations: 119.8 kB / 0.6569 GB, free: 3.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.4595, allocations: 1.027 MB / 0.6579 GB, free: 2.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.4597, allocations: 45.7 kB / 0.658 GB, free: 2.367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.4601, allocations: 0.5007 MB / 0.6585 GB, free: 1.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.4606, allocations: 378.7 kB / 0.6588 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006664/0.4613, allocations: 247.4 kB / 0.6591 GB, free: 1.238 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4614, allocations: 353.9 kB / 0.6594 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.4631, allocations: 0.7652 MB / 0.6602 GB, free: 124 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.465, allocations: 0.9116 MB / 0.661 GB, free: 15.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02072/0.4857, allocations: 5.41 MB / 0.6663 GB, free: 9.684 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4857, allocations: 4 kB / 0.6663 GB, free: 9.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.014/0.4998, allocations: 4.507 MB / 0.6707 GB, free: 5.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/0.4999, allocations: 61.44 kB / 0.6708 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4999, allocations: 3.938 kB / 0.6708 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006545/0.5064, allocations: 1.858 MB / 0.6726 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.5078, allocations: 251.7 kB / 0.6728 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.5301, allocations: 9.465 MB / 0.6821 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.5322, allocations: 202.7 kB / 0.6823 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.5325, allocations: 47.98 kB / 0.6823 GB, free: 9.094 MB / 494.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.0008524/0.5334, allocations: 295.2 kB / 0.6826 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.5338, allocations: 122.5 kB / 0.6827 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.5473, allocations: 4.189 MB / 0.6868 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.5474, allocations: 8 kB / 0.6868 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5474, allocations: 7.938 kB / 0.6868 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.5474, allocations: 7.922 kB / 0.6868 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.5634, allocations: 5.969 MB / 0.6927 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.5634, allocations: 0 / 0.6927 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.5642, allocations: 115.8 kB / 0.6928 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006051/0.5703, allocations: 1.816 MB / 0.6946 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.5706, allocations: 27.98 kB / 0.6946 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/0.5928, allocations: 10.29 MB / 0.7046 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.5928, allocations: 8.109 kB / 0.7046 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.6078, allocations: 5.136 MB / 0.7097 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.6082, allocations: 215.3 kB / 0.7099 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.6086, allocations: 28.12 kB / 0.7099 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6099, allocations: 111.9 kB / 0.71 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007089/0.6106, allocations: 216.7 kB / 0.7102 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.6108, allocations: 31.98 kB / 0.7102 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001221/0.612, allocations: 0.6993 MB / 0.7109 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.612, allocations: 0 / 0.7109 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001606/0.6136, allocations: 483.5 kB / 0.7114 GB, free: 10.8 MB / 0.5137 GB 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.01518/0.6288, allocations: 5.715 MB / 0.717 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007582/0.6364, allocations: 2.677 MB / 0.7196 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.6365, allocations: 4.125 kB / 0.7196 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005149/0.6416, allocations: 1.798 MB / 0.7213 GB, free: 492 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.6432, allocations: 114.1 kB / 0.7214 GB, free: 376 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04126/0.6845, allocations: 16.57 MB / 0.7376 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009353/0.6855, allocations: 1.135 MB / 0.7387 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005398/0.686, allocations: 111.9 kB / 0.7388 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007814/0.6868, allocations: 483.3 kB / 0.7393 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.6869, allocations: 0 / 0.7393 GB, free: 13.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3864/1.073, allocations: 37.26 MB / 0.7757 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.97, allocations: 6.719 kB / 0.7757 GB, free: 137.9 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)