Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009852/0.0009854, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007898, allocations: 101.8 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06984/0.06984, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2803/0.2803, allocations: 78.02 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.972e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 69.24 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5618, allocations: 118.3 MB / 0.7045 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5621, allocations: 80.2 kB / 0.7046 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1307/0.6928, allocations: 47.65 MB / 0.7511 GB, free: 6.016 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6929, allocations: 0 / 0.7511 GB, free: 6.016 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001919/0.6931, allocations: 35.98 kB / 0.7512 GB, free: 5.98 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007768/0.7008, allocations: 2.361 MB / 0.7535 GB, free: 3.734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7009, allocations: 11.98 kB / 0.7535 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006776/0.7016, allocations: 195.7 kB / 0.7537 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003687/0.7053, allocations: 0.6056 MB / 0.7543 GB, free: 3.035 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.7083, allocations: 1.158 MB / 0.7554 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006898/0.7091, allocations: 0.5655 MB / 0.7559 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005092/0.7096, allocations: 135.5 kB / 0.7561 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.7131, allocations: 1.504 MB / 0.7575 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.7131, allocations: 0 / 0.7575 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.7133, allocations: 56.56 kB / 0.7576 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.7134, allocations: 28 kB / 0.7576 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.7162, allocations: 1.368 MB / 0.7589 GB, free: 15.53 MB / 0.4948 GB 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.01162/0.7278, allocations: 5.895 MB / 0.7647 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.7364, allocations: 3.519 MB / 0.7681 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.7382, allocations: 0.9014 MB / 0.769 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/0.739, allocations: 0.7453 MB / 0.7697 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.7412, allocations: 1.036 MB / 0.7708 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 5.801e-06/0.7413, allocations: 0 / 0.7708 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=156): time 0.01816/0.7594, allocations: 5.608 MB / 0.7762 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.7596, allocations: 179.5 kB / 0.7764 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/0.7634, allocations: 1.329 MB / 0.7777 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004958/0.7639, allocations: 53.7 kB / 0.7778 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/0.7647, allocations: 0.7466 MB / 0.7785 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009733/0.7657, allocations: 0.5314 MB / 0.779 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.766, allocations: 32 kB / 0.779 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002332/0.7663, allocations: 378 kB / 0.7794 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.7679, allocations: 0.707 MB / 0.7801 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.7697, allocations: 0.907 MB / 0.781 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.7715, allocations: 0.8119 MB / 0.7818 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.7715, allocations: 0 / 0.7818 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.00574/0.7773, allocations: 2.695 MB / 0.7844 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006959/0.778, allocations: 1.408 MB / 0.7858 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.778, allocations: 4 kB / 0.7858 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.7885, allocations: 3.291 MB / 0.789 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009992/0.7895, allocations: 171.8 kB / 0.7892 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008059/0.7976, allocations: 3.285 MB / 0.7924 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.8004, allocations: 302.5 kB / 0.7927 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.8007, allocations: 63.98 kB / 0.7927 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.8007, allocations: 7.938 kB / 0.7927 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004945/0.8057, allocations: 2.583 MB / 0.7952 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8057, allocations: 7.984 kB / 0.7953 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.8158, allocations: 3.276 MB / 0.7984 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.8167, allocations: 167.7 kB / 0.7986 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.8236, allocations: 3.2 MB / 0.8017 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.8262, allocations: 298.6 kB / 0.802 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.8265, allocations: 55.98 kB / 0.8021 GB, free: 3.645 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 {35 69} Notification: Performance of prepare postOptimizeDAE: time 0.000546/0.827, allocations: 234.1 kB / 0.8023 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.8277, allocations: 197.6 kB / 0.8025 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/0.8445, allocations: 5.783 MB / 0.8081 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.8446, allocations: 16 kB / 0.8081 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.8446, allocations: 0 / 0.8081 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.895e-05/0.8447, allocations: 15.95 kB / 0.8082 GB, free: 13.37 MB / 0.5417 GB 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.02267/0.8673, allocations: 8.387 MB / 0.8164 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.8674, allocations: 4 kB / 0.8164 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.8684, allocations: 151.9 kB / 0.8165 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007762/0.8762, allocations: 2.383 MB / 0.8188 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004059/0.8766, allocations: 43.94 kB / 0.8189 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.8968, allocations: 8.973 MB / 0.8276 GB, free: 9.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.8969, allocations: 4.062 kB / 0.8276 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02066/0.9175, allocations: 7.085 MB / 0.8346 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.9186, allocations: 322.2 kB / 0.8349 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007606/0.9194, allocations: 35.94 kB / 0.8349 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/0.9217, allocations: 215.8 kB / 0.8351 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/0.9228, allocations: 285.2 kB / 0.8354 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/0.9231, allocations: 51.98 kB / 0.8354 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00193/0.925, allocations: 1.023 MB / 0.8364 GB, free: 16 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.925, allocations: 0 / 0.8364 GB, free: 16 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003338/0.9284, allocations: 0.897 MB / 0.8373 GB, free: 15.12 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 {1 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02015/0.9486, allocations: 7.946 MB / 0.8451 GB, free: 7.102 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01514/0.9637, allocations: 5.025 MB / 0.85 GB, free: 2.047 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.9638, allocations: 0 / 0.85 GB, free: 2.047 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006407/0.9702, allocations: 2.204 MB / 0.8521 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.972, allocations: 154 kB / 0.8523 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.9792, allocations: 3.263 MB / 0.8555 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/0.9801, allocations: 1.382 MB / 0.8568 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001096/0.9812, allocations: 259.7 kB / 0.857 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000779/0.982, allocations: 0.6867 MB / 0.8577 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.982, allocations: 0 / 0.8577 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3878/1.37, allocations: 57.02 MB / 0.9134 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.37, allocations: 162.2 kB / 0.9136 GB, free: 175 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.819/5.189, allocations: 0 / 0.9136 GB, free: 175 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe 2>&1)