Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.001008/0.001008, allocations: 100 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.332/1.332, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001065/0.001065, allocations: 177.1 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.4817/0.4817, allocations: 79.45 MB / 420.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 8 kB / 0.4891 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 69.51 MB / 0.557 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.007506/0.3983, allocations: 7.833 MB / 0.5646 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.4041, allocations: 2.809 MB / 0.5674 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.4057, allocations: 17.91 kB / 0.5674 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008861/0.4066, allocations: 228.9 kB / 0.5676 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.4093, allocations: 0.9232 MB / 0.5685 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.4111, allocations: 0.7615 MB / 0.5692 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.4136, allocations: 1.498 MB / 0.5707 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.4142, allocations: 413.5 kB / 0.5711 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.4154, allocations: 0.819 MB / 0.5719 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.4165, allocations: 1.036 MB / 0.5729 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.4167, allocations: 96.84 kB / 0.573 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.4175, allocations: 341.5 kB / 0.5733 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.4178, allocations: 384.7 kB / 0.5737 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.4181, allocations: 325 kB / 0.574 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.4197, allocations: 1.939 MB / 0.5759 GB, free: 32.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4197, allocations: 2.531 kB / 0.5759 GB, free: 32.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4197, allocations: 0.6875 kB / 0.5759 GB, free: 32.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.4198, allocations: 0.5625 kB / 0.5759 GB, free: 32.3 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01146/0.4312, allocations: 3.569 MB / 0.5794 GB, free: 30.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4313, allocations: 10.34 kB / 0.5794 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000478/0.4318, allocations: 176.5 kB / 0.5796 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.4366, allocations: 0.7793 MB / 0.5803 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.4392, allocations: 1.178 MB / 0.5815 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004695/0.4397, allocations: 0.5003 MB / 0.582 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.4399, allocations: 128.2 kB / 0.5821 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.443, allocations: 1.655 MB / 0.5837 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.443, allocations: 7.266 kB / 0.5837 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.4432, allocations: 44.06 kB / 0.5837 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.4432, allocations: 31.12 kB / 0.5838 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.4464, allocations: 1.563 MB / 0.5853 GB, free: 28.22 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.01152/0.4579, allocations: 5.754 MB / 0.5909 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00988/0.4678, allocations: 3.693 MB / 0.5945 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/0.4685, allocations: 0.7317 MB / 0.5952 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003414/0.4719, allocations: 1.225 MB / 0.5964 GB, free: 22.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 4.408e-06/0.472, allocations: 0 / 0.5964 GB, free: 22.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04544/0.5174, allocations: 12.04 MB / 0.6082 GB, free: 20.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5175, allocations: 122.1 kB / 0.6083 GB, free: 20.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.52, allocations: 1.546 MB / 0.6098 GB, free: 19.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.5204, allocations: 55.77 kB / 0.6099 GB, free: 19.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.5208, allocations: 0.6752 MB / 0.6105 GB, free: 18.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.5213, allocations: 491.7 kB / 0.611 GB, free: 18.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5214, allocations: 40.5 kB / 0.6111 GB, free: 18.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5215, allocations: 383.6 kB / 0.6114 GB, free: 17.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.5239, allocations: 1.146 MB / 0.6125 GB, free: 17.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.5265, allocations: 1.358 MB / 0.6139 GB, free: 16.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.5291, allocations: 1.224 MB / 0.6151 GB, free: 16.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5291, allocations: 1.562 kB / 0.6151 GB, free: 16.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009636/0.5387, allocations: 4.333 MB / 0.6193 GB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.5388, allocations: 8 kB / 0.6193 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5388, allocations: 4 kB / 0.6193 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009508/0.5483, allocations: 3.174 MB / 0.6224 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.5502, allocations: 343.5 kB / 0.6227 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.5568, allocations: 3.685 MB / 0.6263 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.5596, allocations: 330.9 kB / 0.6266 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.5599, allocations: 71.98 kB / 0.6267 GB, free: 4.809 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007158/0.5606, allocations: 331.8 kB / 0.627 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.5609, allocations: 177.8 kB / 0.6272 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/0.5774, allocations: 6.049 MB / 0.6331 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.5775, allocations: 22.02 kB / 0.6331 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.5775, allocations: 3.953 kB / 0.6331 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.752e-05/0.5776, allocations: 7.969 kB / 0.6331 GB, free: 14.21 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 postOpt removeSimpleEquations (simulation): time 0.02086/0.5984, allocations: 8.297 MB / 0.6412 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.5985, allocations: 3.938 kB / 0.6412 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5996, allocations: 175.8 kB / 0.6414 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00772/0.6074, allocations: 2.509 MB / 0.6439 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002559/0.6076, allocations: 32.98 kB / 0.6439 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02578/0.6334, allocations: 10.89 MB / 0.6545 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6335, allocations: 4 kB / 0.6545 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02036/0.6538, allocations: 7.344 MB / 0.6617 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007575/0.6546, allocations: 297.1 kB / 0.662 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.655, allocations: 24 kB / 0.662 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.6567, allocations: 199.8 kB / 0.6622 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008425/0.6576, allocations: 282.6 kB / 0.6625 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.6577, allocations: 35.98 kB / 0.6625 GB, free: 15.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.6593, allocations: 1.029 MB / 0.6635 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6594, allocations: 0 / 0.6635 GB, free: 14.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001748/0.6611, allocations: 0.5814 MB / 0.6641 GB, free: 14.17 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02073/0.6819, allocations: 8.087 MB / 0.672 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009703/0.6916, allocations: 3.398 MB / 0.6753 GB, free: 2.645 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6916, allocations: 0 / 0.6753 GB, free: 2.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006751/0.6984, allocations: 2.265 MB / 0.6775 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.6999, allocations: 127.7 kB / 0.6776 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009441/0.7093, allocations: 7.183 MB / 0.6846 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.7102, allocations: 1.329 MB / 0.6859 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007752/0.711, allocations: 165 kB / 0.6861 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009109/0.7119, allocations: 0.6789 MB / 0.6868 GB, free: 6.785 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7119, allocations: 0 / 0.6868 GB, free: 6.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.7849, allocations: 41.79 MB / 0.7276 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.7851, allocations: 189.9 kB / 0.7277 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/4.215, allocations: 0 / 0.7277 GB, free: 13.07 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1) Environment - environmentSimulation: