Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_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_dev_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.00109/0.00109, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.298/1.298, allocations: 223.2 MB / 238.9 MB, free: 5.473 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.001058/0.001058, allocations: 177 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4645/0.4645, allocations: 79.46 MB / 420.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 11.98 kB / 0.4891 GB, free: 5.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3863, allocations: 69.5 MB / 0.557 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.00551/0.3918, allocations: 6.144 MB / 0.563 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004214/0.3961, allocations: 2.093 MB / 0.565 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.3972, allocations: 14.88 kB / 0.565 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008591/0.3981, allocations: 181.6 kB / 0.5652 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.4003, allocations: 0.6975 MB / 0.5659 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.4018, allocations: 0.6105 MB / 0.5665 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.4035, allocations: 1.076 MB / 0.5675 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.404, allocations: 334 kB / 0.5678 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.4048, allocations: 0.5987 MB / 0.5684 GB, free: 36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.4055, allocations: 0.7103 MB / 0.5691 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.4056, allocations: 59.5 kB / 0.5692 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.4061, allocations: 166.3 kB / 0.5693 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.4063, allocations: 258.2 kB / 0.5696 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.4065, allocations: 249 kB / 0.5698 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009526/0.4074, allocations: 1.295 MB / 0.5711 GB, free: 34.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4074, allocations: 0 / 0.5711 GB, free: 34.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4075, allocations: 0 / 0.5711 GB, free: 34.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4075, allocations: 0 / 0.5711 GB, free: 34.98 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.007811/0.4153, allocations: 2.654 MB / 0.5737 GB, free: 33.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4153, allocations: 9 kB / 0.5737 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002509/0.4156, allocations: 139.9 kB / 0.5738 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.4206, allocations: 0.8116 MB / 0.5746 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4226, allocations: 0.877 MB / 0.5755 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.423, allocations: 345.8 kB / 0.5758 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.4231, allocations: 91.53 kB / 0.5759 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.4257, allocations: 1.355 MB / 0.5772 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4257, allocations: 5.766 kB / 0.5772 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.4258, allocations: 36 kB / 0.5772 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4258, allocations: 25.02 kB / 0.5773 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.4284, allocations: 1.284 MB / 0.5785 GB, free: 31.79 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.007408/0.4359, allocations: 4.389 MB / 0.5828 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.4389, allocations: 1.872 MB / 0.5846 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.439, allocations: 18.11 kB / 0.5847 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/0.441, allocations: 1.03 MB / 0.5857 GB, free: 27.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.066e-06/0.4411, allocations: 4 kB / 0.5857 GB, free: 27.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03469/0.4758, allocations: 9.251 MB / 0.5947 GB, free: 26.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4759, allocations: 119.4 kB / 0.5948 GB, free: 26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.4778, allocations: 1.035 MB / 0.5958 GB, free: 25.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/0.4781, allocations: 47.2 kB / 0.5959 GB, free: 25.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.4785, allocations: 0.523 MB / 0.5964 GB, free: 25.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.4791, allocations: 389.1 kB / 0.5967 GB, free: 24.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4792, allocations: 33.44 kB / 0.5968 GB, free: 24.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4793, allocations: 355.8 kB / 0.5971 GB, free: 24.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.4812, allocations: 0.8591 MB / 0.598 GB, free: 24.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.4834, allocations: 1.016 MB / 0.599 GB, free: 23.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.4856, allocations: 0.9672 MB / 0.5999 GB, free: 23.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4857, allocations: 1.25 kB / 0.5999 GB, free: 23.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0177/0.5034, allocations: 5.406 MB / 0.6052 GB, free: 22.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.5036, allocations: 60.39 kB / 0.6052 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.5036, allocations: 3.938 kB / 0.6052 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008371/0.512, allocations: 2.16 MB / 0.6073 GB, free: 21.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.5136, allocations: 285.4 kB / 0.6076 GB, free: 21.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.5352, allocations: 10.19 MB / 0.6176 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.5372, allocations: 250.8 kB / 0.6178 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.5374, allocations: 51.98 kB / 0.6179 GB, free: 14.05 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 exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-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 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006168/0.538, allocations: 301.5 kB / 0.6181 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.5382, allocations: 130.4 kB / 0.6183 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/0.5527, allocations: 5.33 MB / 0.6235 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5527, allocations: 12 kB / 0.6235 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5527, allocations: 5.734 kB / 0.6235 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.5528, allocations: 3.984 kB / 0.6235 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.5693, allocations: 7.249 MB / 0.6306 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.5694, allocations: 7.953 kB / 0.6306 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/0.5702, allocations: 131.9 kB / 0.6307 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006765/0.577, allocations: 2.214 MB / 0.6329 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/0.5773, allocations: 24 kB / 0.6329 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/0.6013, allocations: 11.14 MB / 0.6438 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6013, allocations: 4 kB / 0.6438 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/0.6201, allocations: 6.438 MB / 0.6501 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/0.6208, allocations: 228.1 kB / 0.6503 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.621, allocations: 20.09 kB / 0.6503 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.6225, allocations: 183.8 kB / 0.6505 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/0.6233, allocations: 240.6 kB / 0.6507 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/0.6234, allocations: 24 kB / 0.6507 GB, free: 11.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.6245, allocations: 0.6967 MB / 0.6514 GB, free: 11.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6245, allocations: 0 / 0.6514 GB, free: 11.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001666/0.6262, allocations: 0.4895 MB / 0.6519 GB, free: 10.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01834/0.6445, allocations: 7.077 MB / 0.6588 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008004/0.6526, allocations: 3.025 MB / 0.6618 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.6526, allocations: 0 / 0.6618 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005653/0.6583, allocations: 2.069 MB / 0.6638 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6595, allocations: 102.8 kB / 0.6639 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/0.6663, allocations: 5.181 MB / 0.6689 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6673, allocations: 1.191 MB / 0.6701 GB, free: 7.812 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004983/0.6679, allocations: 111.3 kB / 0.6702 GB, free: 7.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/0.6685, allocations: 495.3 kB / 0.6707 GB, free: 7.219 MB / 478.1 MB Notification: Performance of SimCode: time 1.153e-06/0.6685, allocations: 0 / 0.6707 GB, free: 7.219 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06238/0.7309, allocations: 34.08 MB / 0.704 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.7311, allocations: 202.5 kB / 0.7041 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.414, allocations: 0 / 0.7041 GB, free: 5.316 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: