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.001687/0.001687, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.395/1.395, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001559/0.001559, allocations: 196.4 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5234/0.5234, allocations: 91.91 MB / 431.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 75.88 kB / 0.5013 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4057, allocations: 71.26 MB / 0.5709 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.007793/0.4135, allocations: 9.295 MB / 0.58 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006142/0.4197, allocations: 2.914 MB / 0.5828 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.4217, allocations: 16.66 kB / 0.5828 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.4229, allocations: 275.7 kB / 0.5831 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.4258, allocations: 0.912 MB / 0.584 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.4278, allocations: 0.9026 MB / 0.5849 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4305, allocations: 2.346 MB / 0.5872 GB, free: 26.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007571/0.4313, allocations: 487.6 kB / 0.5876 GB, free: 26.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.4327, allocations: 0.8671 MB / 0.5885 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.434, allocations: 1.142 MB / 0.5896 GB, free: 25.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.4343, allocations: 116.7 kB / 0.5897 GB, free: 25.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009942/0.4353, allocations: 392.3 kB / 0.5901 GB, free: 25.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.4357, allocations: 427.3 kB / 0.5905 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.4365, allocations: 0.9175 MB / 0.5914 GB, free: 24.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.4387, allocations: 2.561 MB / 0.5939 GB, free: 23.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4388, allocations: 0 / 0.5939 GB, free: 23.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4388, allocations: 7.938 kB / 0.5939 GB, free: 23.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.4388, allocations: 0 / 0.5939 GB, free: 23.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.0138/0.4526, allocations: 3.809 MB / 0.5976 GB, free: 21.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4527, allocations: 9.125 kB / 0.5976 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002706/0.453, allocations: 171.8 kB / 0.5978 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/0.4582, allocations: 0.775 MB / 0.5985 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.4609, allocations: 1.245 MB / 0.5998 GB, free: 20.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/0.4614, allocations: 497.1 kB / 0.6002 GB, free: 20.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.4617, allocations: 121.5 kB / 0.6004 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.4652, allocations: 1.589 MB / 0.6019 GB, free: 19.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4652, allocations: 0 / 0.6019 GB, free: 19.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.4654, allocations: 42.41 kB / 0.6019 GB, free: 19.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.4654, allocations: 26.12 kB / 0.602 GB, free: 19.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.4689, allocations: 1.482 MB / 0.6034 GB, free: 18.93 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.01113/0.4801, allocations: 5.547 MB / 0.6088 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009158/0.4893, allocations: 3.132 MB / 0.6119 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/0.4918, allocations: 0.9931 MB / 0.6129 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.4923, allocations: 0.7322 MB / 0.6136 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002575/0.4949, allocations: 1.143 MB / 0.6147 GB, free: 12.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.667e-06/0.4949, allocations: 0 / 0.6147 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.0417/0.5366, allocations: 10.04 MB / 0.6245 GB, free: 7.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.5367, allocations: 120.1 kB / 0.6246 GB, free: 7.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.539, allocations: 1.556 MB / 0.6261 GB, free: 5.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.5395, allocations: 57.7 kB / 0.6262 GB, free: 5.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.5399, allocations: 0.675 MB / 0.6269 GB, free: 4.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.5404, allocations: 0.4892 MB / 0.6273 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/0.541, allocations: 371.5 kB / 0.6277 GB, free: 3.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.541, allocations: 305.1 kB / 0.628 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.5431, allocations: 1.074 MB / 0.629 GB, free: 2.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.5453, allocations: 1.29 MB / 0.6303 GB, free: 1.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.5496, allocations: 2.251 MB / 0.6325 GB, free: 14.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.5497, allocations: 0 / 0.6325 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01078/0.5604, allocations: 4.156 MB / 0.6365 GB, free: 10.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5605, allocations: 6.188 kB / 0.6365 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.5605, allocations: 4 kB / 0.6365 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009762/0.5703, allocations: 2.797 MB / 0.6393 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.5723, allocations: 343.5 kB / 0.6396 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007433/0.5798, allocations: 3.368 MB / 0.6429 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.5832, allocations: 278.1 kB / 0.6432 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/0.5837, allocations: 71.98 kB / 0.6432 GB, free: 3.73 MB / 446.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 ($whenCondition2,$whenCondition1,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 (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 {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.585, allocations: 325.5 kB / 0.6435 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000856/0.5859, allocations: 181.8 kB / 0.6437 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/0.6029, allocations: 4.997 MB / 0.6486 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.6029, allocations: 16 kB / 0.6486 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.603, allocations: 0 / 0.6486 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.656e-05/0.603, allocations: 11.91 kB / 0.6486 GB, free: 14.18 MB / 462.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.02238/0.6254, allocations: 7.203 MB / 0.6557 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.6255, allocations: 0 / 0.6557 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.6267, allocations: 179.8 kB / 0.6558 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007452/0.6342, allocations: 2.142 MB / 0.6579 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003616/0.6346, allocations: 31.98 kB / 0.6579 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02571/0.6603, allocations: 9.183 MB / 0.6669 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6604, allocations: 0 / 0.6669 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/0.6807, allocations: 6.189 MB / 0.673 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.6818, allocations: 294.5 kB / 0.6732 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008845/0.6827, allocations: 24 kB / 0.6733 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/0.6851, allocations: 155.8 kB / 0.6734 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/0.6863, allocations: 273.2 kB / 0.6737 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002819/0.6866, allocations: 39.98 kB / 0.6737 GB, free: 4.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002236/0.6889, allocations: 1.044 MB / 0.6747 GB, free: 3.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6889, allocations: 0 / 0.6747 GB, free: 3.098 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002708/0.6916, allocations: 0.5736 MB / 0.6753 GB, free: 2.523 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 (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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02026/0.7119, allocations: 6.812 MB / 0.6819 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01041/0.7224, allocations: 3.043 MB / 0.6849 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.7224, allocations: 0 / 0.6849 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006981/0.7294, allocations: 1.987 MB / 0.6869 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.7323, allocations: 157.8 kB / 0.687 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06129/0.7936, allocations: 23.56 MB / 0.71 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.7949, allocations: 1.286 MB / 0.7113 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001143/0.796, allocations: 163.2 kB / 0.7114 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.7973, allocations: 0.6789 MB / 0.7121 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.7974, allocations: 0 / 0.7121 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07898/0.8763, allocations: 44.17 MB / 0.7552 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.8766, allocations: 220.6 kB / 0.7554 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/4.104, allocations: 4 kB / 0.7554 GB, free: 15.29 MB / 0.5606 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/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)