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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008864/0.0008864, allocations: 96.62 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4461/0.4461, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.124e-05, allocations: 7.984 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3632, allocations: 69.5 MB / 0.5492 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.4998, allocations: 115.7 MB / 0.6622 GB, free: 15.81 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5001, allocations: 91.94 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3983/0.8984, allocations: 46.41 MB / 0.7077 GB, free: 102.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.8985, allocations: 0 / 0.7077 GB, free: 102.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.8986, allocations: 32 kB / 0.7077 GB, free: 102.7 MB / 490.7 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.006153/0.9048, allocations: 2.253 MB / 0.7099 GB, free: 100.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9048, allocations: 11.97 kB / 0.7099 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004244/0.9052, allocations: 176.9 kB / 0.7101 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.9093, allocations: 0.737 MB / 0.7108 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.9118, allocations: 1.183 MB / 0.7119 GB, free: 98.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/0.9122, allocations: 0.5002 MB / 0.7124 GB, free: 97.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.9126, allocations: 112 kB / 0.7125 GB, free: 97.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.9151, allocations: 1.357 MB / 0.7139 GB, free: 96.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.9152, allocations: 4 kB / 0.7139 GB, free: 96.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.9153, allocations: 44 kB / 0.7139 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.9153, allocations: 27.94 kB / 0.7139 GB, free: 96.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.9174, allocations: 1.239 MB / 0.7151 GB, free: 94.86 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.009215/0.9266, allocations: 5.584 MB / 0.7206 GB, free: 89.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/0.9337, allocations: 3.294 MB / 0.7238 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.9349, allocations: 0.7845 MB / 0.7246 GB, free: 84.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/0.9353, allocations: 0.7366 MB / 0.7253 GB, free: 83.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.9368, allocations: 0.9384 MB / 0.7262 GB, free: 83.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.446e-06/0.9368, allocations: 0 / 0.7262 GB, free: 83.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01435/0.9512, allocations: 5.108 MB / 0.7312 GB, free: 77.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.9513, allocations: 116.1 kB / 0.7313 GB, free: 77.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.9539, allocations: 1.337 MB / 0.7326 GB, free: 76.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/0.9543, allocations: 45.7 kB / 0.7327 GB, free: 76.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/0.9548, allocations: 0.699 MB / 0.7333 GB, free: 75.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006433/0.9555, allocations: 491.4 kB / 0.7338 GB, free: 75.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.9557, allocations: 28 kB / 0.7338 GB, free: 75.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9558, allocations: 369.9 kB / 0.7342 GB, free: 74.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.957, allocations: 0.6484 MB / 0.7348 GB, free: 74.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.9582, allocations: 0.8442 MB / 0.7357 GB, free: 73.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.9594, allocations: 0.7166 MB / 0.7364 GB, free: 72.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9594, allocations: 0 / 0.7364 GB, free: 72.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004376/0.9638, allocations: 2.381 MB / 0.7387 GB, free: 70.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9638, allocations: 8 kB / 0.7387 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.9638, allocations: 4 kB / 0.7387 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007653/0.9715, allocations: 2.656 MB / 0.7413 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.9725, allocations: 227.6 kB / 0.7415 GB, free: 67.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.9767, allocations: 2.915 MB / 0.7443 GB, free: 64.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.9789, allocations: 290.5 kB / 0.7446 GB, free: 64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.9791, allocations: 59.95 kB / 0.7447 GB, free: 63.94 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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.0003278/0.9795, allocations: 168.8 kB / 0.7448 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.98, allocations: 177.8 kB / 0.745 GB, free: 63.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.9937, allocations: 5.254 MB / 0.7501 GB, free: 58.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.9937, allocations: 19.98 kB / 0.7502 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.9937, allocations: 0 / 0.7502 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/0.9938, allocations: 7.984 kB / 0.7502 GB, free: 58.29 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01688/1.011, allocations: 7.46 MB / 0.7575 GB, free: 50.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.011, allocations: 0 / 0.7575 GB, free: 50.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.012, allocations: 171.8 kB / 0.7576 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/1.018, allocations: 2.009 MB / 0.7596 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.018, allocations: 32 kB / 0.7596 GB, free: 48.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.034, allocations: 7.84 MB / 0.7673 GB, free: 40.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.034, allocations: 4 kB / 0.7673 GB, free: 40.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/1.049, allocations: 6.26 MB / 0.7734 GB, free: 34.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007164/1.049, allocations: 310.4 kB / 0.7737 GB, free: 33.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004912/1.05, allocations: 24 kB / 0.7737 GB, free: 33.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.052, allocations: 199.8 kB / 0.7739 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008145/1.053, allocations: 281.2 kB / 0.7742 GB, free: 33.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.053, allocations: 39.98 kB / 0.7742 GB, free: 33.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001564/1.054, allocations: 1.032 MB / 0.7752 GB, free: 32.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.054, allocations: 3.938 kB / 0.7752 GB, free: 32.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001595/1.056, allocations: 0.554 MB / 0.7758 GB, free: 31.8 MB / 490.7 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 () * 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.0154/1.071, allocations: 7.046 MB / 0.7826 GB, free: 24.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006466/1.078, allocations: 2.487 MB / 0.7851 GB, free: 22.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.078, allocations: 0 / 0.7851 GB, free: 22.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004992/1.083, allocations: 1.959 MB / 0.787 GB, free: 20.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.084, allocations: 137.7 kB / 0.7871 GB, free: 20.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/1.09, allocations: 3.014 MB / 0.79 GB, free: 17.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/1.091, allocations: 1.325 MB / 0.7913 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006909/1.092, allocations: 137.7 kB / 0.7915 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/1.092, allocations: 0.6711 MB / 0.7921 GB, free: 14.88 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.092, allocations: 0 / 0.7921 GB, free: 14.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0635/1.156, allocations: 41.93 MB / 0.8331 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.156, allocations: 171.7 kB / 0.8332 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/4.259, allocations: 0 / 0.8332 GB, free: 4.883 MB / 0.5105 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)