Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_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.001159/0.001159, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.498/1.498, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001469/0.001469, allocations: 180.5 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6164/0.6164, allocations: 91.92 MB / 433.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004832, allocations: 16 kB / 0.5049 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4181, allocations: 72.46 MB / 0.5756 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005185/0.4234, allocations: 6.507 MB / 0.582 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.4269, allocations: 2.059 MB / 0.584 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.4274, allocations: 15.22 kB / 0.584 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.428, allocations: 189.6 kB / 0.5842 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.4295, allocations: 0.6624 MB / 0.5849 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.4306, allocations: 0.6216 MB / 0.5855 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.4318, allocations: 1.545 MB / 0.587 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.4322, allocations: 306.3 kB / 0.5873 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.4327, allocations: 0.5752 MB / 0.5878 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.4334, allocations: 0.7367 MB / 0.5885 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.4335, allocations: 58.94 kB / 0.5886 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.4339, allocations: 186.8 kB / 0.5888 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.4341, allocations: 254 kB / 0.589 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.4345, allocations: 0.6295 MB / 0.5896 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4357, allocations: 1.586 MB / 0.5912 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4358, allocations: 1.125 kB / 0.5912 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4358, allocations: 4 kB / 0.5912 GB, free: 27.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.4358, allocations: 0 / 0.5912 GB, free: 27.54 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00828/0.4441, allocations: 2.571 MB / 0.5937 GB, free: 26.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4441, allocations: 9 kB / 0.5937 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.4443, allocations: 148.8 kB / 0.5938 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.4493, allocations: 0.789 MB / 0.5946 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.4509, allocations: 0.8862 MB / 0.5955 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.4512, allocations: 261.9 kB / 0.5957 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.4513, allocations: 87.58 kB / 0.5958 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.4543, allocations: 1.244 MB / 0.597 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.4543, allocations: 0 / 0.597 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.4545, allocations: 31.25 kB / 0.5971 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.4545, allocations: 19.19 kB / 0.5971 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.4581, allocations: 1.151 MB / 0.5982 GB, free: 24.45 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.009694/0.4678, allocations: 3.745 MB / 0.6019 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.4717, allocations: 1.62 MB / 0.6034 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.4742, allocations: 0.8499 MB / 0.6043 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.4743, allocations: 16.36 kB / 0.6043 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002366/0.4767, allocations: 0.9612 MB / 0.6052 GB, free: 20.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.767e-06/0.4767, allocations: 0 / 0.6052 GB, free: 20.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.0424/0.5191, allocations: 8.524 MB / 0.6136 GB, free: 19.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.5193, allocations: 122.4 kB / 0.6137 GB, free: 18.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.522, allocations: 1.026 MB / 0.6147 GB, free: 18.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.5224, allocations: 50.55 kB / 0.6147 GB, free: 18.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.523, allocations: 0.5076 MB / 0.6152 GB, free: 18.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006681/0.5236, allocations: 370.2 kB / 0.6156 GB, free: 17.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/0.5241, allocations: 124.7 kB / 0.6157 GB, free: 17.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5243, allocations: 358.3 kB / 0.616 GB, free: 17.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.5266, allocations: 0.8317 MB / 0.6168 GB, free: 17.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.529, allocations: 0.9743 MB / 0.6178 GB, free: 16.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02314/0.5522, allocations: 5.918 MB / 0.6236 GB, free: 12.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.5522, allocations: 0 / 0.6236 GB, free: 12.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01571/0.568, allocations: 5.416 MB / 0.6289 GB, free: 6.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.5681, allocations: 63.41 kB / 0.6289 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.5681, allocations: 7.938 kB / 0.6289 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006959/0.5751, allocations: 2.159 MB / 0.631 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.5765, allocations: 247.7 kB / 0.6313 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.6, allocations: 9.71 MB / 0.6408 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.6024, allocations: 234.8 kB / 0.641 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/0.6028, allocations: 47.98 kB / 0.641 GB, free: 9.98 MB / 446.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.0011/0.6039, allocations: 297.9 kB / 0.6413 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00052/0.6044, allocations: 130.4 kB / 0.6414 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.6212, allocations: 5.114 MB / 0.6464 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.6213, allocations: 12 kB / 0.6464 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6213, allocations: 0 / 0.6464 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.6213, allocations: 3.984 kB / 0.6464 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.6411, allocations: 6.883 MB / 0.6532 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.6412, allocations: 4 kB / 0.6532 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.642, allocations: 107.8 kB / 0.6533 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00721/0.6493, allocations: 2.14 MB / 0.6554 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/0.6496, allocations: 27.98 kB / 0.6554 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/0.6744, allocations: 10.28 MB / 0.6654 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.6745, allocations: 7.984 kB / 0.6654 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/0.6939, allocations: 6.111 MB / 0.6714 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/0.6946, allocations: 219.3 kB / 0.6716 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005484/0.6952, allocations: 23.98 kB / 0.6716 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/0.697, allocations: 151.9 kB / 0.6718 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000878/0.6979, allocations: 212.7 kB / 0.672 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/0.6981, allocations: 23.94 kB / 0.672 GB, free: 9.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.6997, allocations: 0.7032 MB / 0.6727 GB, free: 9.004 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6997, allocations: 0 / 0.6727 GB, free: 9.004 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002315/0.702, allocations: 487.4 kB / 0.6732 GB, free: 8.527 MB / 478.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.01923/0.7213, allocations: 6.701 MB / 0.6797 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008995/0.7303, allocations: 2.926 MB / 0.6826 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.7303, allocations: 0 / 0.6826 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006069/0.7364, allocations: 1.976 MB / 0.6845 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.7383, allocations: 124.4 kB / 0.6846 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05372/0.7921, allocations: 19.7 MB / 0.7038 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.7932, allocations: 1.128 MB / 0.7049 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007462/0.794, allocations: 111.9 kB / 0.7051 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000908/0.7949, allocations: 471.3 kB / 0.7055 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.7949, allocations: 0 / 0.7055 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.131/5.926, allocations: 33.5 MB / 0.7382 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/5.926, allocations: 233.3 kB / 0.7384 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/9.141, allocations: 0 / 0.7384 GB, free: 5.262 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)