Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0008855/0.0008853, allocations: 92.12 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1002/0.1002, allocations: 12.19 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3194/0.3194, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.383e-05, allocations: 0 / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7007/0.8456, allocations: 117.1 MB / 0.6962 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.846, allocations: 87.56 kB / 0.6963 GB, free: 7.637 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1405/0.9866, allocations: 47.75 MB / 0.7429 GB, free: 484 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.9866, allocations: 0 / 0.7429 GB, free: 484 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.9868, allocations: 36 kB / 0.743 GB, free: 448 kB / 474.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.008084/0.9949, allocations: 2.283 MB / 0.7452 GB, free: 14.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.995, allocations: 11.97 kB / 0.7452 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.999, allocations: 0.5847 MB / 0.7458 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/1.003, allocations: 1.136 MB / 0.7469 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006555/1.003, allocations: 467.5 kB / 0.7473 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/1.004, allocations: 71.91 kB / 0.7474 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002604/1.007, allocations: 1.188 MB / 0.7486 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/1.009, allocations: 1.229 MB / 0.7498 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.009, allocations: 352 / 0.7498 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/1.009, allocations: 6.641 kB / 0.7498 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/1.009, allocations: 28 kB / 0.7498 GB, free: 10.59 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.01303/1.022, allocations: 5.372 MB / 0.755 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/1.032, allocations: 3.275 MB / 0.7582 GB, free: 2.605 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/1.034, allocations: 0.7524 MB / 0.759 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008265/1.034, allocations: 0.7336 MB / 0.7597 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/1.036, allocations: 0.9008 MB / 0.7606 GB, free: 24 kB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.055e-06/1.036, allocations: 4 kB / 0.7606 GB, free: 20 kB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01688/1.053, allocations: 5.028 MB / 0.7655 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/1.053, allocations: 145.8 kB / 0.7656 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/1.056, allocations: 1.172 MB / 0.7668 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005954/1.057, allocations: 29.7 kB / 0.7668 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/1.057, allocations: 0.7066 MB / 0.7675 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008703/1.058, allocations: 480.8 kB / 0.7679 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.058, allocations: 0 / 0.7679 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002136/1.059, allocations: 357.9 kB / 0.7683 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.06, allocations: 0.6289 MB / 0.7689 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.061, allocations: 0.8177 MB / 0.7697 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.063, allocations: 0.7048 MB / 0.7704 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.063, allocations: 4 kB / 0.7704 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005091/1.068, allocations: 2.256 MB / 0.7726 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008274/1.069, allocations: 1.534 MB / 0.7741 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.069, allocations: 8 kB / 0.7741 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0084/1.077, allocations: 2.379 MB / 0.7764 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.079, allocations: 239.6 kB / 0.7766 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/1.085, allocations: 3.078 MB / 0.7797 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/1.088, allocations: 254.6 kB / 0.7799 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/1.088, allocations: 55.98 kB / 0.7799 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.088, allocations: 4 kB / 0.78 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004679/1.093, allocations: 2.038 MB / 0.7819 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.093, allocations: 8 kB / 0.782 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/1.101, allocations: 2.387 MB / 0.7843 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/1.103, allocations: 223.7 kB / 0.7845 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.109, allocations: 3.078 MB / 0.7875 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/1.112, allocations: 250.7 kB / 0.7877 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.112, allocations: 51.98 kB / 0.7878 GB, free: 3.73 MB / 0.5105 GB 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.0005378/1.113, allocations: 128.7 kB / 0.7879 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01683/1.129, allocations: 5.028 MB / 0.7928 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.13, allocations: 185.7 kB / 0.793 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.147, allocations: 5.088 MB / 0.798 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/1.147, allocations: 19.94 kB / 0.798 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.147, allocations: 0 / 0.798 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-05/1.147, allocations: 7.969 kB / 0.798 GB, free: 9.234 MB / 0.5261 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.02058/1.167, allocations: 7.251 MB / 0.8051 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/1.167, allocations: 8.031 kB / 0.8051 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/1.169, allocations: 183.8 kB / 0.8053 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007035/1.176, allocations: 1.994 MB / 0.8072 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004578/1.177, allocations: 19.98 kB / 0.8072 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/1.195, allocations: 7.701 MB / 0.8147 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.195, allocations: 4 kB / 0.8147 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.213, allocations: 6.189 MB / 0.8208 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.215, allocations: 298.5 kB / 0.8211 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006714/1.215, allocations: 4 kB / 0.8211 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.217, allocations: 187.7 kB / 0.8213 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009554/1.218, allocations: 281.2 kB / 0.8215 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.218, allocations: 43.98 kB / 0.8216 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001662/1.22, allocations: 0.8797 MB / 0.8224 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.22, allocations: 0 / 0.8224 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003194/1.223, allocations: 0.7758 MB / 0.8232 GB, free: 15.12 MB / 0.5573 GB 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.01905/1.242, allocations: 6.956 MB / 0.83 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.257, allocations: 4.239 MB / 0.8341 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.257, allocations: 0 / 0.8341 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006567/1.264, allocations: 1.904 MB / 0.836 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.265, allocations: 113.5 kB / 0.8361 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/1.274, allocations: 2.978 MB / 0.839 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.275, allocations: 1.345 MB / 0.8403 GB, free: 13.44 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001611/1.276, allocations: 270.4 kB / 0.8406 GB, free: 13.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/1.277, allocations: 0.6593 MB / 0.8412 GB, free: 12.51 MB / 0.573 GB Notification: Performance of SimCode: time 7.02e-07/1.277, allocations: 0 / 0.8412 GB, free: 12.51 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4982/1.776, allocations: 46.95 MB / 0.8871 GB, free: 164.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/1.776, allocations: 135.3 kB / 0.8872 GB, free: 164.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.407/6.183, allocations: 4 kB / 0.8872 GB, free: 164.2 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)