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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006899/0.006899, allocations: 101.9 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4762/0.4762, allocations: 91.91 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 78.78 kB / 0.5723 GB, free: 33.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 71.28 MB / 0.6419 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.008241/0.1215, allocations: 8.962 MB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.1269, allocations: 2.876 MB / 0.6534 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.1283, allocations: 19.94 kB / 0.6535 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1294, allocations: 341 kB / 0.6538 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.1331, allocations: 1.098 MB / 0.6549 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.1359, allocations: 0.974 MB / 0.6558 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003496/0.1394, allocations: 2.498 MB / 0.6582 GB, free: 3.254 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007542/0.1401, allocations: 0.522 MB / 0.6588 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.1414, allocations: 0.9844 MB / 0.6597 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1426, allocations: 1.233 MB / 0.6609 GB, free: 488 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.1429, allocations: 212 kB / 0.6611 GB, free: 276 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.1437, allocations: 491.7 kB / 0.6616 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.144, allocations: 0.5137 MB / 0.6621 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.1448, allocations: 1.014 MB / 0.6631 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.1472, allocations: 2.679 MB / 0.6657 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1472, allocations: 0 / 0.6657 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1472, allocations: 3.984 kB / 0.6657 GB, free: 11.56 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.1473, allocations: 0 / 0.6657 GB, free: 11.56 MB / 478.1 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.01168/0.159, allocations: 3.809 MB / 0.6694 GB, free: 7.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.159, allocations: 8.031 kB / 0.6694 GB, free: 7.684 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.1592, allocations: 172.9 kB / 0.6696 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.1635, allocations: 0.7742 MB / 0.6704 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.1655, allocations: 1.251 MB / 0.6716 GB, free: 5.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/0.166, allocations: 0.4885 MB / 0.6721 GB, free: 4.855 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.1662, allocations: 120 kB / 0.6722 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.1691, allocations: 1.587 MB / 0.6737 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.1691, allocations: 4 kB / 0.6737 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.1693, allocations: 40 kB / 0.6738 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.1693, allocations: 28 kB / 0.6738 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.1723, allocations: 1.48 MB / 0.6752 GB, free: 1.543 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008989/0.1813, allocations: 5.509 MB / 0.6806 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.1891, allocations: 3.134 MB / 0.6837 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.1911, allocations: 0.9941 MB / 0.6846 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.1917, allocations: 0.7297 MB / 0.6854 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.1938, allocations: 1.146 MB / 0.6865 GB, free: 5.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=136): time 3.005e-06/0.1938, allocations: 0 / 0.6865 GB, free: 5.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.03734/0.2312, allocations: 10.04 MB / 0.6963 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.2313, allocations: 124.1 kB / 0.6964 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.2336, allocations: 1.556 MB / 0.6979 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003562/0.234, allocations: 57.7 kB / 0.698 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.2344, allocations: 0.675 MB / 0.6986 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.235, allocations: 496.9 kB / 0.6991 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006577/0.2356, allocations: 371.5 kB / 0.6995 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.2357, allocations: 309.1 kB / 0.6998 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.238, allocations: 1.066 MB / 0.7008 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.2405, allocations: 1.303 MB / 0.7021 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/0.245, allocations: 2.251 MB / 0.7043 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.245, allocations: 8 kB / 0.7043 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01002/0.2551, allocations: 4.144 MB / 0.7083 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2551, allocations: 4 kB / 0.7083 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.2551, allocations: 4 kB / 0.7083 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00919/0.2643, allocations: 2.801 MB / 0.7111 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.2661, allocations: 347.5 kB / 0.7114 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006426/0.2725, allocations: 3.36 MB / 0.7147 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.275, allocations: 274.2 kB / 0.7149 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.2753, allocations: 67.98 kB / 0.715 GB, free: 7.945 MB / 0.5137 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 ($whenCondition2,$whenCondition1,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006874/0.276, allocations: 339.8 kB / 0.7153 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/0.2764, allocations: 177.8 kB / 0.7155 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/0.2914, allocations: 5.001 MB / 0.7204 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.2914, allocations: 15.94 kB / 0.7204 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.2915, allocations: 0 / 0.7204 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.2915, allocations: 11.97 kB / 0.7204 GB, free: 2.375 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0179/0.3094, allocations: 7.206 MB / 0.7274 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.3095, allocations: 0 / 0.7274 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.3106, allocations: 179.7 kB / 0.7276 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006754/0.3173, allocations: 2.142 MB / 0.7297 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002977/0.3177, allocations: 31.98 kB / 0.7297 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/0.3403, allocations: 10.05 MB / 0.7396 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3403, allocations: 0 / 0.7396 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/0.3576, allocations: 6.187 MB / 0.7456 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006925/0.3584, allocations: 290.5 kB / 0.7459 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.3587, allocations: 27.98 kB / 0.7459 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.3603, allocations: 147.8 kB / 0.746 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009169/0.3613, allocations: 285.3 kB / 0.7463 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.3614, allocations: 36 kB / 0.7463 GB, free: 7.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001543/0.3629, allocations: 1.04 MB / 0.7474 GB, free: 6.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3629, allocations: 0 / 0.7474 GB, free: 6.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001574/0.3645, allocations: 0.5737 MB / 0.7479 GB, free: 5.855 MB / 0.545 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,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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01759/0.3821, allocations: 6.812 MB / 0.7546 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00872/0.3909, allocations: 3.086 MB / 0.7576 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3909, allocations: 0 / 0.7576 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005981/0.3969, allocations: 2.013 MB / 0.7596 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.3984, allocations: 159.3 kB / 0.7597 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3113/0.7097, allocations: 21.37 MB / 0.7806 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.7104, allocations: 1.289 MB / 0.7818 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007063/0.7111, allocations: 164.9 kB / 0.782 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007646/0.7119, allocations: 0.6843 MB / 0.7827 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.7119, allocations: 0 / 0.7827 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06511/0.777, allocations: 48.3 MB / 0.8298 GB, free: 73.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.44, allocations: 5.594 kB / 0.8298 GB, free: 73.85 MB / 0.5606 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/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)