Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.001045/0.001045, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 229.6 MB, free: 3.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 102.1 kB / 280.5 MB, free: 1.125 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4647/0.4647, allocations: 78.94 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.958e-05, allocations: 4 kB / 486 MB, free: 3.164 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3635, allocations: 69.5 MB / 0.5425 GB, free: 21.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5158, allocations: 116.2 MB / 0.656 GB, free: 3.547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.5161, allocations: 83.95 kB / 0.6561 GB, free: 3.465 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4538/0.9699, allocations: 46.74 MB / 0.7017 GB, free: 105 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.97, allocations: 2.906 kB / 0.7017 GB, free: 105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001149/0.9701, allocations: 33.44 kB / 0.7017 GB, free: 105 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.006822/0.9769, allocations: 2.266 MB / 0.7039 GB, free: 103.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.977, allocations: 10.81 kB / 0.704 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/0.9816, allocations: 0.7551 MB / 0.7047 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.9848, allocations: 1.198 MB / 0.7059 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004385/0.9852, allocations: 462.7 kB / 0.7063 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.9856, allocations: 74.23 kB / 0.7064 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002159/0.9878, allocations: 1.189 MB / 0.7075 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9898, allocations: 1.223 MB / 0.7087 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.9899, allocations: 0 / 0.7087 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.99, allocations: 0 / 0.7087 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.99, allocations: 26.84 kB / 0.7088 GB, free: 100.6 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.0117/1.002, allocations: 5.521 MB / 0.7142 GB, free: 95.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/1.009, allocations: 3.273 MB / 0.7173 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/1.011, allocations: 0.7523 MB / 0.7181 GB, free: 91.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/1.011, allocations: 0.7374 MB / 0.7188 GB, free: 90.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/1.013, allocations: 0.9086 MB / 0.7197 GB, free: 89.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 4.779e-06/1.013, allocations: 0 / 0.7197 GB, free: 89.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01446/1.027, allocations: 5.028 MB / 0.7246 GB, free: 84.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/1.027, allocations: 149.8 kB / 0.7247 GB, free: 84.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/1.029, allocations: 1.218 MB / 0.7259 GB, free: 83.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004674/1.03, allocations: 25.7 kB / 0.726 GB, free: 83.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/1.03, allocations: 0.7067 MB / 0.7266 GB, free: 82.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/1.031, allocations: 480.8 kB / 0.7271 GB, free: 82.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/1.031, allocations: 4 kB / 0.7271 GB, free: 82.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/1.031, allocations: 365.9 kB / 0.7275 GB, free: 81.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/1.032, allocations: 0.625 MB / 0.7281 GB, free: 81.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.033, allocations: 0.814 MB / 0.7289 GB, free: 80.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.034, allocations: 0.7165 MB / 0.7296 GB, free: 79.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.034, allocations: 3.938 kB / 0.7296 GB, free: 79.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004398/1.039, allocations: 2.26 MB / 0.7318 GB, free: 77.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002876/1.039, allocations: 1.538 MB / 0.7333 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.039, allocations: 4 kB / 0.7333 GB, free: 75.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007177/1.046, allocations: 2.383 MB / 0.7356 GB, free: 73.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.047, allocations: 235.6 kB / 0.7358 GB, free: 72.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/1.052, allocations: 3.078 MB / 0.7388 GB, free: 69.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/1.055, allocations: 266.6 kB / 0.7391 GB, free: 69.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/1.055, allocations: 55.97 kB / 0.7391 GB, free: 69.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.055, allocations: 4 kB / 0.7391 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003721/1.059, allocations: 2.038 MB / 0.7411 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.059, allocations: 7.984 kB / 0.7411 GB, free: 67.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007019/1.066, allocations: 2.372 MB / 0.7435 GB, free: 65.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.067, allocations: 231.7 kB / 0.7437 GB, free: 64.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/1.072, allocations: 3.078 MB / 0.7467 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.075, allocations: 238.8 kB / 0.7469 GB, free: 61.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/1.075, allocations: 55.92 kB / 0.747 GB, free: 61.41 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,eSAC1A.rotatingExciterWithDemagnetization.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.0005154/1.076, allocations: 132.6 kB / 0.7471 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01458/1.091, allocations: 5.024 MB / 0.752 GB, free: 56.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.092, allocations: 173.8 kB / 0.7522 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.107, allocations: 5.111 MB / 0.7572 GB, free: 50.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/1.107, allocations: 12 kB / 0.7572 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.107, allocations: 7.953 kB / 0.7572 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/1.107, allocations: 7.969 kB / 0.7572 GB, free: 50.91 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.01935/1.126, allocations: 7.281 MB / 0.7643 GB, free: 43.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.126, allocations: 0 / 0.7643 GB, free: 43.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.128, allocations: 187.8 kB / 0.7645 GB, free: 43.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006339/1.134, allocations: 1.99 MB / 0.7664 GB, free: 41.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005241/1.134, allocations: 11.98 kB / 0.7664 GB, free: 41.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.151, allocations: 7.709 MB / 0.774 GB, free: 33.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.151, allocations: 3.984 kB / 0.774 GB, free: 33.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.168, allocations: 6.192 MB / 0.78 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/1.169, allocations: 306.5 kB / 0.7803 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009596/1.17, allocations: 0 / 0.7803 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.172, allocations: 187.8 kB / 0.7805 GB, free: 26.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/1.174, allocations: 277.2 kB / 0.7807 GB, free: 26.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/1.174, allocations: 47.92 kB / 0.7808 GB, free: 26.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001682/1.176, allocations: 0.9303 MB / 0.7817 GB, free: 25.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.176, allocations: 0 / 0.7817 GB, free: 25.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003941/1.18, allocations: 0.7913 MB / 0.7825 GB, free: 24.75 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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01715/1.197, allocations: 6.952 MB / 0.7893 GB, free: 17.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01235/1.209, allocations: 4.228 MB / 0.7934 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.209, allocations: 4.188 kB / 0.7934 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005602/1.215, allocations: 1.908 MB / 0.7953 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.216, allocations: 127.4 kB / 0.7954 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/1.224, allocations: 2.975 MB / 0.7983 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/1.224, allocations: 1.345 MB / 0.7996 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001503/1.226, allocations: 270.5 kB / 0.7999 GB, free: 6.801 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007162/1.227, allocations: 0.6594 MB / 0.8005 GB, free: 6.141 MB / 490.7 MB Notification: Performance of SimCode: time 9.51e-07/1.227, allocations: 0 / 0.8005 GB, free: 6.141 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0937/1.32, allocations: 47.24 MB / 0.8466 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.321, allocations: 122.6 kB / 0.8468 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/5.298, allocations: 0 / 0.8468 GB, free: 6.746 MB / 0.5261 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)