Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.0009303/0.0009305, allocations: 174.6 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.16/1.16, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008596/0.0008597, allocations: 92.3 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.4178/0.4178, allocations: 78.9 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.195e-05, allocations: 7.984 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3065, allocations: 69.5 MB / 0.5492 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4374, allocations: 114.2 MB / 0.6607 GB, free: 1.402 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4377, allocations: 83.94 kB / 0.6608 GB, free: 1.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3791/0.8168, allocations: 45.43 MB / 0.7052 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.8169, allocations: 0 / 0.7052 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.38e-05/0.8169, allocations: 30.66 kB / 0.7052 GB, free: 104.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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004825/0.8218, allocations: 2.205 MB / 0.7073 GB, free: 102.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.8218, allocations: 11.97 kB / 0.7074 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.822, allocations: 164.5 kB / 0.7075 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/0.8256, allocations: 0.7507 MB / 0.7082 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.8273, allocations: 1.148 MB / 0.7094 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.8276, allocations: 474.4 kB / 0.7098 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.8278, allocations: 112 kB / 0.7099 GB, free: 99.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8297, allocations: 1.301 MB / 0.7112 GB, free: 98.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.8297, allocations: 0 / 0.7112 GB, free: 98.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.8298, allocations: 51.98 kB / 0.7112 GB, free: 98.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.8298, allocations: 28 kB / 0.7113 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.8316, allocations: 1.18 MB / 0.7124 GB, free: 97.31 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.008172/0.8398, allocations: 5.537 MB / 0.7178 GB, free: 91.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006964/0.8467, allocations: 3.261 MB / 0.721 GB, free: 88.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009176/0.8477, allocations: 0.7647 MB / 0.7218 GB, free: 87.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003989/0.8481, allocations: 0.7372 MB / 0.7225 GB, free: 86.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.8493, allocations: 0.9112 MB / 0.7234 GB, free: 85.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 2.695e-06/0.8493, allocations: 3.938 kB / 0.7234 GB, free: 85.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=133): time 0.01324/0.8625, allocations: 5 MB / 0.7283 GB, free: 80.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.8626, allocations: 120.1 kB / 0.7284 GB, free: 80.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.8646, allocations: 1.324 MB / 0.7297 GB, free: 79.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003219/0.8649, allocations: 45.7 kB / 0.7297 GB, free: 79.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.8653, allocations: 0.6811 MB / 0.7304 GB, free: 78.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.8658, allocations: 483.7 kB / 0.7308 GB, free: 77.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.8659, allocations: 24 kB / 0.7309 GB, free: 77.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.8659, allocations: 361.9 kB / 0.7312 GB, free: 77.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/0.8669, allocations: 0.6445 MB / 0.7318 GB, free: 76.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.8679, allocations: 0.8208 MB / 0.7326 GB, free: 76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.869, allocations: 0.7112 MB / 0.7333 GB, free: 75.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.869, allocations: 4 kB / 0.7333 GB, free: 75.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003576/0.8726, allocations: 2.267 MB / 0.7355 GB, free: 73.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.8726, allocations: 8.062 kB / 0.7356 GB, free: 73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.8727, allocations: 11.95 kB / 0.7356 GB, free: 72.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007603/0.8803, allocations: 2.544 MB / 0.738 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.8814, allocations: 243.6 kB / 0.7383 GB, free: 70.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.8853, allocations: 2.261 MB / 0.7405 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.8876, allocations: 286.5 kB / 0.7408 GB, free: 67.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.8877, allocations: 55.98 kB / 0.7408 GB, free: 67.57 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0002888/0.888, allocations: 174.6 kB / 0.741 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.8884, allocations: 177.8 kB / 0.7412 GB, free: 67.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.902, allocations: 5.215 MB / 0.7462 GB, free: 61.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.9021, allocations: 16 kB / 0.7463 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.9021, allocations: 0 / 0.7463 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-05/0.9022, allocations: 11.97 kB / 0.7463 GB, free: 61.96 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.0161/0.9183, allocations: 7.399 MB / 0.7535 GB, free: 54.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.9183, allocations: 0 / 0.7535 GB, free: 54.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009611/0.9193, allocations: 163.8 kB / 0.7537 GB, free: 54.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005667/0.925, allocations: 2.009 MB / 0.7556 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.9252, allocations: 39.92 kB / 0.7557 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.9403, allocations: 7.839 MB / 0.7633 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9404, allocations: 0 / 0.7633 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.9551, allocations: 6.188 MB / 0.7694 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.9558, allocations: 302.5 kB / 0.7696 GB, free: 37.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.956, allocations: 24 kB / 0.7697 GB, free: 37.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.9577, allocations: 199.8 kB / 0.7699 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007232/0.9584, allocations: 265.3 kB / 0.7701 GB, free: 37.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/0.9585, allocations: 40 kB / 0.7701 GB, free: 37.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.9597, allocations: 1.024 MB / 0.7711 GB, free: 36.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9597, allocations: 3.938 kB / 0.7712 GB, free: 36.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001182/0.9609, allocations: 0.5462 MB / 0.7717 GB, free: 35.64 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.01458/0.9755, allocations: 6.969 MB / 0.7785 GB, free: 28.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006095/0.9816, allocations: 2.469 MB / 0.7809 GB, free: 26.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.9816, allocations: 4.312 kB / 0.7809 GB, free: 26.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004848/0.9865, allocations: 1.927 MB / 0.7828 GB, free: 24.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.9876, allocations: 139.2 kB / 0.7829 GB, free: 24.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.9927, allocations: 2.951 MB / 0.7858 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.9932, allocations: 1.309 MB / 0.7871 GB, free: 19.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006004/0.9938, allocations: 137.5 kB / 0.7872 GB, free: 19.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/0.9946, allocations: 0.6555 MB / 0.7879 GB, free: 18.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9946, allocations: 4 kB / 0.7879 GB, free: 18.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06378/1.058, allocations: 40.67 MB / 0.8276 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/1.059, allocations: 164.1 kB / 0.8277 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/4.204, allocations: 0 / 0.8277 GB, free: 10.2 MB / 0.5105 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)