Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001026, allocations: 180.2 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 239.5 MB, free: 1.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009761/0.0009766, allocations: 96 kB / 290.6 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5625/0.5625, allocations: 78.61 MB / 420.4 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0004001, allocations: 12 kB / 0.4889 GB, free: 2.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3983, allocations: 69.33 MB / 0.5566 GB, free: 39.21 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006639/0.4049, allocations: 6.485 MB / 0.5629 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.4102, allocations: 2.046 MB / 0.5649 GB, free: 35.51 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.4118, allocations: 13.94 kB / 0.5649 GB, free: 35.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.4127, allocations: 188.8 kB / 0.5651 GB, free: 35.44 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.4157, allocations: 0.6742 MB / 0.5658 GB, free: 35.13 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.4177, allocations: 0.616 MB / 0.5664 GB, free: 34.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.4204, allocations: 1.556 MB / 0.5679 GB, free: 34.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.421, allocations: 310.1 kB / 0.5682 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.4223, allocations: 0.582 MB / 0.5688 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009328/0.4232, allocations: 0.7295 MB / 0.5695 GB, free: 33.49 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.4234, allocations: 57.5 kB / 0.5695 GB, free: 33.49 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.424, allocations: 191.3 kB / 0.5697 GB, free: 33.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.4242, allocations: 248.4 kB / 0.57 GB, free: 33.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.4247, allocations: 0.6298 MB / 0.5706 GB, free: 32.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.4262, allocations: 1.589 MB / 0.5721 GB, free: 32.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4262, allocations: 0 / 0.5721 GB, free: 32.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4262, allocations: 0 / 0.5721 GB, free: 32.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.745e-05/0.4263, allocations: 4 kB / 0.5721 GB, free: 32.29 MB / 426.7 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.008063/0.4343, allocations: 2.574 MB / 0.5746 GB, free: 31.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.4344, allocations: 9.062 kB / 0.5746 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000451/0.4349, allocations: 133.2 kB / 0.5748 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.44, allocations: 0.7984 MB / 0.5756 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.4417, allocations: 0.8897 MB / 0.5764 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.442, allocations: 259.6 kB / 0.5767 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.4422, allocations: 88.28 kB / 0.5768 GB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.4444, allocations: 1.24 MB / 0.578 GB, free: 29.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.4444, allocations: 0 / 0.578 GB, free: 29.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.904e-05/0.4445, allocations: 29.97 kB / 0.578 GB, free: 29.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4446, allocations: 20.44 kB / 0.578 GB, free: 29.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.4467, allocations: 1.154 MB / 0.5791 GB, free: 29.2 MB / 426.7 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.006035/0.4528, allocations: 3.746 MB / 0.5828 GB, free: 27.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.455, allocations: 1.62 MB / 0.5844 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.4564, allocations: 0.852 MB / 0.5852 GB, free: 25.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.4566, allocations: 20.2 kB / 0.5852 GB, free: 25.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.4583, allocations: 0.9582 MB / 0.5862 GB, free: 25.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 3.687e-06/0.4583, allocations: 0 / 0.5862 GB, free: 25.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02638/0.4847, allocations: 8.526 MB / 0.5945 GB, free: 23.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.4848, allocations: 121.6 kB / 0.5946 GB, free: 23.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.4865, allocations: 1.03 MB / 0.5956 GB, free: 23.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.4867, allocations: 46.08 kB / 0.5957 GB, free: 23.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.487, allocations: 0.5093 MB / 0.5962 GB, free: 22.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.4874, allocations: 369.8 kB / 0.5965 GB, free: 22.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.4876, allocations: 125.3 kB / 0.5966 GB, free: 22.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.4877, allocations: 358.3 kB / 0.597 GB, free: 22.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.4894, allocations: 0.8302 MB / 0.5978 GB, free: 21.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.4912, allocations: 0.9728 MB / 0.5987 GB, free: 21.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02161/0.5128, allocations: 5.908 MB / 0.6045 GB, free: 19.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.5129, allocations: 1.125 kB / 0.6045 GB, free: 19.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01656/0.5295, allocations: 5.41 MB / 0.6098 GB, free: 18.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.5296, allocations: 64.34 kB / 0.6098 GB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.5296, allocations: 6.562 kB / 0.6098 GB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007103/0.5367, allocations: 2.167 MB / 0.612 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.5382, allocations: 243.7 kB / 0.6122 GB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.5573, allocations: 9.714 MB / 0.6217 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.5592, allocations: 238.8 kB / 0.6219 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5593, allocations: 51.92 kB / 0.622 GB, free: 6.578 MB / 426.7 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.0005451/0.5599, allocations: 291.5 kB / 0.6222 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.56, allocations: 122.5 kB / 0.6224 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5726, allocations: 5.105 MB / 0.6273 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.5727, allocations: 12 kB / 0.6274 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5727, allocations: 0 / 0.6274 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.5727, allocations: 3.984 kB / 0.6274 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.589, allocations: 6.89 MB / 0.6341 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.589, allocations: 4 kB / 0.6341 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.5898, allocations: 111.8 kB / 0.6342 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006394/0.5962, allocations: 2.136 MB / 0.6363 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.5965, allocations: 20 kB / 0.6363 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02162/0.6182, allocations: 10.29 MB / 0.6464 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6182, allocations: 4 kB / 0.6464 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/0.6347, allocations: 6.115 MB / 0.6523 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/0.6354, allocations: 223.3 kB / 0.6525 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.6358, allocations: 20 kB / 0.6526 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.637, allocations: 155.9 kB / 0.6527 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006651/0.6377, allocations: 208.6 kB / 0.6529 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.6378, allocations: 20 kB / 0.6529 GB, free: 6.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.6389, allocations: 0.7071 MB / 0.6536 GB, free: 5.629 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.6389, allocations: 96 / 0.6536 GB, free: 5.629 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00153/0.6404, allocations: 491.5 kB / 0.6541 GB, free: 5.148 MB / 458.7 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.01637/0.6568, allocations: 6.694 MB / 0.6606 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007748/0.6646, allocations: 2.939 MB / 0.6635 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.6646, allocations: 0 / 0.6635 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005038/0.6697, allocations: 1.972 MB / 0.6654 GB, free: 9.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6711, allocations: 113.3 kB / 0.6655 GB, free: 9.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04631/0.7174, allocations: 19.71 MB / 0.6848 GB, free: 5.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.7183, allocations: 1.132 MB / 0.6859 GB, free: 4.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006378/0.7189, allocations: 107.9 kB / 0.686 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.7196, allocations: 475.2 kB / 0.6864 GB, free: 3.445 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7196, allocations: 0 / 0.6864 GB, free: 3.445 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05985/0.7794, allocations: 33.53 MB / 0.7192 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.7796, allocations: 227.7 kB / 0.7194 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/3.919, allocations: 3.75 kB / 0.7194 GB, free: 1.871 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)