Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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.0009953/0.0009951, 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.323/1.323, allocations: 223.2 MB / 238.9 MB, free: 5.492 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.001066/0.001066, allocations: 189 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4488/0.4488, allocations: 79.45 MB / 420.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003824, allocations: 8 kB / 0.4891 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3616, allocations: 69.51 MB / 0.557 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2): time 0.007452/0.3691, allocations: 8.122 MB / 0.5649 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.3755, allocations: 2.932 MB / 0.5678 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.3774, allocations: 16.41 kB / 0.5678 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.3787, allocations: 247.2 kB / 0.568 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.3821, allocations: 0.9346 MB / 0.5689 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.3843, allocations: 0.8094 MB / 0.5697 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.3875, allocations: 1.566 MB / 0.5712 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007493/0.3883, allocations: 450 kB / 0.5717 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.3896, allocations: 0.8439 MB / 0.5725 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3909, allocations: 1.066 MB / 0.5735 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.3912, allocations: 101.6 kB / 0.5736 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008553/0.3921, allocations: 347.3 kB / 0.574 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.3924, allocations: 392 kB / 0.5743 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.3928, allocations: 342.4 kB / 0.5747 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.3946, allocations: 2.035 MB / 0.5767 GB, free: 31.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3946, allocations: 0.7812 kB / 0.5767 GB, free: 31.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3946, allocations: 0 / 0.5767 GB, free: 31.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.707e-05/0.3946, allocations: 0.7188 kB / 0.5767 GB, free: 31.77 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.01233/0.407, allocations: 3.668 MB / 0.5802 GB, free: 30.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.407, allocations: 10.5 kB / 0.5803 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008713/0.4079, allocations: 180.9 kB / 0.5804 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/0.4134, allocations: 0.8007 MB / 0.5812 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.4166, allocations: 1.22 MB / 0.5824 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/0.4171, allocations: 0.5091 MB / 0.5829 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.4175, allocations: 131.9 kB / 0.583 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/0.4211, allocations: 1.745 MB / 0.5847 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.4211, allocations: 0 / 0.5847 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.4213, allocations: 47.16 kB / 0.5848 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.4213, allocations: 29.06 kB / 0.5848 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/0.4251, allocations: 1.647 MB / 0.5864 GB, free: 27.55 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.01379/0.4389, allocations: 5.991 MB / 0.5923 GB, free: 24.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.4514, allocations: 3.824 MB / 0.596 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006636/0.4521, allocations: 0.7353 MB / 0.5967 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003125/0.4552, allocations: 1.267 MB / 0.5979 GB, free: 21.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.848e-06/0.4553, allocations: 4 kB / 0.5979 GB, free: 21.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04807/0.5033, allocations: 12.91 MB / 0.6106 GB, free: 19.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.5034, allocations: 147.8 kB / 0.6107 GB, free: 18.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.5059, allocations: 1.606 MB / 0.6123 GB, free: 18.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004299/0.5064, allocations: 52.11 kB / 0.6123 GB, free: 18.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.5068, allocations: 0.7044 MB / 0.613 GB, free: 17.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.5073, allocations: 0.5185 MB / 0.6135 GB, free: 16.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5074, allocations: 39.53 kB / 0.6135 GB, free: 16.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.5075, allocations: 384.7 kB / 0.6139 GB, free: 16.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.51, allocations: 1.183 MB / 0.6151 GB, free: 16.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.5126, allocations: 1.407 MB / 0.6164 GB, free: 15.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.515, allocations: 1.262 MB / 0.6177 GB, free: 14.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.5151, allocations: 4 kB / 0.6177 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.0098/0.5249, allocations: 4.45 MB / 0.622 GB, free: 9.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.5253, allocations: 1.537 MB / 0.6235 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5253, allocations: 4 kB / 0.6235 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009667/0.535, allocations: 3.181 MB / 0.6266 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.5368, allocations: 364.6 kB / 0.627 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.5434, allocations: 3.683 MB / 0.6306 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.5461, allocations: 342.1 kB / 0.6309 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.5463, allocations: 67.98 kB / 0.631 GB, free: 268 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5464, allocations: 4 kB / 0.631 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/0.5566, allocations: 4.232 MB / 0.6351 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.5566, allocations: 4 kB / 0.6351 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.5667, allocations: 3.176 MB / 0.6382 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.5686, allocations: 359.5 kB / 0.6386 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007228/0.5758, allocations: 3.659 MB / 0.6421 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.5787, allocations: 314.3 kB / 0.6424 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.579, allocations: 77.66 kB / 0.6425 GB, free: 4.34 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 ($whenCondition1,$whenCondition2,eXAC2.rotatingExciterWithDemagnetizationLimited.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: 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.0009815/0.58, allocations: 420.6 kB / 0.6429 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.5805, allocations: 186.8 kB / 0.6431 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/0.5983, allocations: 6.057 MB / 0.649 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.5984, allocations: 16 kB / 0.649 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.5984, allocations: 4 kB / 0.649 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-05/0.5985, allocations: 13.36 kB / 0.649 GB, free: 13.63 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.02197/0.6204, allocations: 8.439 MB / 0.6573 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.6205, allocations: 4 kB / 0.6573 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.6219, allocations: 195.7 kB / 0.6575 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008264/0.6302, allocations: 2.514 MB / 0.6599 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000453/0.6307, allocations: 31.98 kB / 0.6599 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/0.6596, allocations: 10.89 MB / 0.6706 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.6597, allocations: 4.703 kB / 0.6706 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/0.6817, allocations: 7.458 MB / 0.6779 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/0.6826, allocations: 298.5 kB / 0.6782 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.6829, allocations: 28.75 kB / 0.6782 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/0.6847, allocations: 209.8 kB / 0.6784 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008454/0.6856, allocations: 281.2 kB / 0.6786 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.6857, allocations: 39.98 kB / 0.6787 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.6874, allocations: 1.066 MB / 0.6797 GB, free: 13.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6874, allocations: 0 / 0.6797 GB, free: 13.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002556/0.69, allocations: 0.9635 MB / 0.6807 GB, free: 12.88 MB / 494.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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.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 (100): * Single equations (assignments): 99 * 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.02189/0.7119, allocations: 8.209 MB / 0.6887 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01836/0.7303, allocations: 5.939 MB / 0.6945 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.7303, allocations: 0.875 kB / 0.6945 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006956/0.7373, allocations: 2.302 MB / 0.6967 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.7387, allocations: 147.7 kB / 0.6969 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.749, allocations: 7.379 MB / 0.7041 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.75, allocations: 1.358 MB / 0.7054 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001026/0.751, allocations: 205 kB / 0.7056 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/0.752, allocations: 0.7062 MB / 0.7063 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.752, allocations: 0 / 0.7063 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.8747, allocations: 49.23 MB / 0.7544 GB, free: 1.527 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.8749, allocations: 205.1 kB / 0.7546 GB, free: 1.277 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/4.377, allocations: 0 / 0.7546 GB, free: 1.277 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1) Environment - environmentSimulation: