Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.001021/0.001021, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.46/1.46, allocations: 223.2 MB / 239 MB, free: 5.438 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.001338/0.001338, allocations: 184.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5536/0.5536, allocations: 79.48 MB / 420.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 12 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4633, allocations: 69.52 MB / 0.5571 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.008449/0.4718, allocations: 7.986 MB / 0.5649 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.4785, allocations: 2.673 MB / 0.5675 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.4807, allocations: 20.09 kB / 0.5675 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.4817, allocations: 235.2 kB / 0.5678 GB, free: 36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.4848, allocations: 0.8443 MB / 0.5686 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.4867, allocations: 0.6908 MB / 0.5693 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003254/0.4899, allocations: 2.104 MB / 0.5713 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008099/0.4907, allocations: 374.5 kB / 0.5717 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.4923, allocations: 0.7819 MB / 0.5724 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.4938, allocations: 1.029 MB / 0.5734 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006825/0.4945, allocations: 94.59 kB / 0.5735 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.4958, allocations: 351.4 kB / 0.5739 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.4962, allocations: 373.1 kB / 0.5742 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.4966, allocations: 315.8 kB / 0.5745 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.4985, allocations: 1.876 MB / 0.5763 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4985, allocations: 0 / 0.5763 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4985, allocations: 0 / 0.5763 GB, free: 32.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.4985, allocations: 0 / 0.5763 GB, free: 32.21 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01099/0.5095, allocations: 3.497 MB / 0.5798 GB, free: 30.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5096, allocations: 10.5 kB / 0.5798 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004901/0.5101, allocations: 167.9 kB / 0.5799 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.5146, allocations: 0.7691 MB / 0.5807 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.5168, allocations: 1.144 MB / 0.5818 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004094/0.5172, allocations: 474.1 kB / 0.5823 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.5174, allocations: 126.3 kB / 0.5824 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.5203, allocations: 1.571 MB / 0.5839 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.5203, allocations: 0 / 0.5839 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.5204, allocations: 40.75 kB / 0.5839 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.5205, allocations: 24.84 kB / 0.584 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.5233, allocations: 1.475 MB / 0.5854 GB, free: 28.29 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.008996/0.5323, allocations: 5.439 MB / 0.5907 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008575/0.5409, allocations: 3.559 MB / 0.5942 GB, free: 23.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.5432, allocations: 1.022 MB / 0.5952 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.5438, allocations: 0.7292 MB / 0.5959 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002936/0.5467, allocations: 1.169 MB / 0.5971 GB, free: 22.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 1.338e-05/0.5467, allocations: 0 / 0.5971 GB, free: 22.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.0453/0.5921, allocations: 12.01 MB / 0.6088 GB, free: 20.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.5922, allocations: 125.1 kB / 0.6089 GB, free: 20.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.5962, allocations: 1.52 MB / 0.6104 GB, free: 19.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005185/0.5968, allocations: 52.58 kB / 0.6104 GB, free: 19.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.5975, allocations: 0.647 MB / 0.6111 GB, free: 18.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009081/0.5984, allocations: 487.2 kB / 0.6115 GB, free: 18.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.5989, allocations: 40.72 kB / 0.6116 GB, free: 18.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5992, allocations: 395.3 kB / 0.6119 GB, free: 17.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/0.602, allocations: 1.098 MB / 0.613 GB, free: 17.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.6051, allocations: 1.332 MB / 0.6143 GB, free: 16.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/0.6082, allocations: 1.196 MB / 0.6155 GB, free: 16.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.6082, allocations: 1.062 kB / 0.6155 GB, free: 16.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01027/0.6185, allocations: 4.234 MB / 0.6196 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.6185, allocations: 7.953 kB / 0.6196 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.6186, allocations: 9 kB / 0.6196 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008561/0.6272, allocations: 3.055 MB / 0.6226 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.629, allocations: 355.5 kB / 0.623 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.6349, allocations: 3.007 MB / 0.6259 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.6376, allocations: 314 kB / 0.6262 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/0.638, allocations: 71.97 kB / 0.6263 GB, free: 5.395 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001157/0.6392, allocations: 317.5 kB / 0.6266 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/0.6399, allocations: 173.8 kB / 0.6267 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/0.657, allocations: 5.882 MB / 0.6325 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/0.6571, allocations: 12 kB / 0.6325 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.6572, allocations: 4 kB / 0.6325 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/0.6572, allocations: 11.92 kB / 0.6325 GB, free: 14.98 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.03104/0.6883, allocations: 8.086 MB / 0.6404 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/0.6884, allocations: 1.625 kB / 0.6404 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6894, allocations: 157.1 kB / 0.6406 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007545/0.697, allocations: 2.516 MB / 0.643 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004105/0.6975, allocations: 28 kB / 0.643 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/0.7268, allocations: 10.3 MB / 0.6531 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.7268, allocations: 8.812 kB / 0.6531 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02914/0.756, allocations: 7.177 MB / 0.6601 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.7571, allocations: 294.5 kB / 0.6604 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.7575, allocations: 28 kB / 0.6604 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.7597, allocations: 187.8 kB / 0.6606 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/0.7608, allocations: 257.3 kB / 0.6608 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.761, allocations: 41.72 kB / 0.6609 GB, free: 1.582 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.7626, allocations: 1.008 MB / 0.6619 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7627, allocations: 0 / 0.6619 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001801/0.7645, allocations: 0.5698 MB / 0.6624 GB, free: 8 kB / 462.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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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.01937/0.7838, allocations: 7.798 MB / 0.67 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009418/0.7933, allocations: 3.315 MB / 0.6733 GB, free: 4.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7934, allocations: 3.938 kB / 0.6733 GB, free: 4.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006533/0.7999, allocations: 2.202 MB / 0.6754 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.8016, allocations: 145.6 kB / 0.6756 GB, free: 2.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/0.8326, allocations: 14.95 MB / 0.6902 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009353/0.8336, allocations: 1.27 MB / 0.6914 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008728/0.8345, allocations: 158.3 kB / 0.6916 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009435/0.8354, allocations: 0.6555 MB / 0.6922 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8354, allocations: 0 / 0.6922 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.9219, allocations: 41.92 MB / 0.7331 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.9222, allocations: 205.5 kB / 0.7333 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/4.287, allocations: 0 / 0.7333 GB, free: 6.91 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1) Environment - environmentSimulation: