Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_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.001217/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.24/1.24, allocations: 222.9 MB / 239 MB, free: 4.699 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.001144/0.001144, allocations: 196.5 kB / 289.2 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4143/0.4143, allocations: 78.52 MB / 417.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.88 kB / 497.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 68.17 MB / 0.552 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.2045/0.3223, allocations: 7.338 MB / 0.5591 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.3257, allocations: 2.146 MB / 0.5612 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004224/0.3261, allocations: 18.59 kB / 0.5613 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.3267, allocations: 198.5 kB / 0.5614 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.328, allocations: 0.6762 MB / 0.5621 GB, free: 34.91 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001138/0.3292, allocations: 0.6951 MB / 0.5628 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.3303, allocations: 1.714 MB / 0.5645 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.3307, allocations: 408.7 kB / 0.5648 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.3313, allocations: 0.7065 MB / 0.5655 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/0.3319, allocations: 0.846 MB / 0.5664 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.3321, allocations: 130.7 kB / 0.5665 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.3324, allocations: 272.5 kB / 0.5667 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.3327, allocations: 348.4 kB / 0.5671 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.3331, allocations: 0.722 MB / 0.5678 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.3342, allocations: 1.787 MB / 0.5695 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3342, allocations: 0.8438 kB / 0.5695 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3342, allocations: 2.906 kB / 0.5695 GB, free: 33.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.3342, allocations: 1.5 kB / 0.5695 GB, free: 33.48 MB / 430.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.007587/0.3418, allocations: 2.844 MB / 0.5723 GB, free: 32.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3419, allocations: 8.5 kB / 0.5723 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.342, allocations: 148.1 kB / 0.5725 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.3466, allocations: 0.7981 MB / 0.5732 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3478, allocations: 0.9164 MB / 0.5741 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.3481, allocations: 335.8 kB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.3482, allocations: 91.19 kB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.3505, allocations: 1.293 MB / 0.5758 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3505, allocations: 1.125 kB / 0.5758 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.3506, allocations: 38.09 kB / 0.5758 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3506, allocations: 24.25 kB / 0.5759 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.3529, allocations: 1.195 MB / 0.577 GB, free: 31.44 MB / 430.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.00537/0.3583, allocations: 4.189 MB / 0.5811 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.3612, allocations: 1.769 MB / 0.5829 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.3628, allocations: 0.858 MB / 0.5837 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.3629, allocations: 20.61 kB / 0.5837 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.3646, allocations: 0.9567 MB / 0.5846 GB, free: 27.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.825e-06/0.3647, allocations: 4 kB / 0.5846 GB, free: 27.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03105/0.3957, allocations: 7.894 MB / 0.5924 GB, free: 25.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3958, allocations: 116.6 kB / 0.5925 GB, free: 25.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.3973, allocations: 1.039 MB / 0.5935 GB, free: 25.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.3975, allocations: 42.19 kB / 0.5935 GB, free: 25.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.3978, allocations: 0.5234 MB / 0.594 GB, free: 24.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.3981, allocations: 393 kB / 0.5944 GB, free: 24.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/0.3986, allocations: 249 kB / 0.5946 GB, free: 24.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.3987, allocations: 354 kB / 0.595 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.4003, allocations: 0.7887 MB / 0.5958 GB, free: 23.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.4021, allocations: 0.9463 MB / 0.5967 GB, free: 23.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/0.4235, allocations: 5.508 MB / 0.6021 GB, free: 21.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4236, allocations: 1.156 kB / 0.6021 GB, free: 21.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01353/0.4371, allocations: 4.458 MB / 0.6064 GB, free: 20.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.4372, allocations: 65.3 kB / 0.6065 GB, free: 20.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4372, allocations: 3.594 kB / 0.6065 GB, free: 20.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005696/0.4429, allocations: 1.743 MB / 0.6082 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4443, allocations: 272.7 kB / 0.6084 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/0.4627, allocations: 9.058 MB / 0.6173 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.4645, allocations: 206.8 kB / 0.6175 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.4647, allocations: 47.98 kB / 0.6175 GB, free: 11.79 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.0006376/0.4653, allocations: 299.3 kB / 0.6178 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.4656, allocations: 130.3 kB / 0.6179 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.4785, allocations: 4.412 MB / 0.6222 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4786, allocations: 15.33 kB / 0.6223 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4786, allocations: 0 / 0.6223 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4786, allocations: 7.922 kB / 0.6223 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.4931, allocations: 6.263 MB / 0.6284 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4931, allocations: 1.812 kB / 0.6284 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.4938, allocations: 127.8 kB / 0.6285 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006098/0.4999, allocations: 1.902 MB / 0.6304 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.5, allocations: 27.98 kB / 0.6304 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0229/0.5229, allocations: 10.73 MB / 0.6409 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.523, allocations: 0 / 0.6409 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/0.5394, allocations: 5.427 MB / 0.6462 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.5399, allocations: 223.2 kB / 0.6464 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.5401, allocations: 24 kB / 0.6464 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.5414, allocations: 135.8 kB / 0.6465 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000732/0.5422, allocations: 236.6 kB / 0.6468 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.5423, allocations: 32.8 kB / 0.6468 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009677/0.5432, allocations: 0.7045 MB / 0.6475 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5433, allocations: 0 / 0.6475 GB, free: 12.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001306/0.5446, allocations: 489.4 kB / 0.648 GB, free: 12.11 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.01636/0.5609, allocations: 5.991 MB / 0.6538 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007252/0.5682, allocations: 2.767 MB / 0.6565 GB, free: 3.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5682, allocations: 4.062 kB / 0.6565 GB, free: 3.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004847/0.5731, allocations: 1.891 MB / 0.6584 GB, free: 1.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5742, allocations: 131 kB / 0.6585 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03972/0.6139, allocations: 18.16 MB / 0.6762 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.6146, allocations: 1.156 MB / 0.6773 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005611/0.6152, allocations: 116.7 kB / 0.6775 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/0.6158, allocations: 0.4915 MB / 0.6779 GB, free: 12.84 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6158, allocations: 0 / 0.6779 GB, free: 12.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05647/0.6723, allocations: 37.03 MB / 0.7141 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.6725, allocations: 221.7 kB / 0.7143 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.209, allocations: 3.5 kB / 0.7143 GB, free: 7.918 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)