Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08529/0.08529, allocations: 12.59 MB / 28.22 MB, free: 0.7227 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 107.4 kB / 31.83 MB, free: 3.863 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 187.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4667/0.4667, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 138.3 kB / 0.5554 GB, free: 28.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.137, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.01017/0.1472, allocations: 9.003 MB / 0.6307 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006735/0.1539, allocations: 2.837 MB / 0.6335 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.156, allocations: 19.94 kB / 0.6335 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1576, allocations: 345 kB / 0.6338 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.162, allocations: 1.297 MB / 0.6351 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.1645, allocations: 0.8804 MB / 0.636 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.1686, allocations: 2.646 MB / 0.6385 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1697, allocations: 0.5259 MB / 0.6391 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1715, allocations: 1.004 MB / 0.64 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.1736, allocations: 1.249 MB / 0.6413 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000697/0.1743, allocations: 216 kB / 0.6415 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1757, allocations: 487.6 kB / 0.6419 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007301/0.1765, allocations: 0.5215 MB / 0.6424 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.1776, allocations: 1.022 MB / 0.6434 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.1807, allocations: 2.684 MB / 0.6461 GB, free: 7.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1808, allocations: 0 / 0.6461 GB, free: 7.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1808, allocations: 3.938 kB / 0.6461 GB, free: 7.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.1808, allocations: 4 kB / 0.6461 GB, free: 7.094 MB / 462.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.0159/0.1967, allocations: 4.101 MB / 0.6501 GB, free: 2.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000108/0.1968, allocations: 11.98 kB / 0.6501 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.1971, allocations: 176.9 kB / 0.6503 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.2017, allocations: 0.7703 MB / 0.651 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.2041, allocations: 1.251 MB / 0.6522 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005476/0.2047, allocations: 0.4924 MB / 0.6527 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.2049, allocations: 124 kB / 0.6528 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.2082, allocations: 1.587 MB / 0.6544 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2083, allocations: 8 kB / 0.6544 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.2084, allocations: 40 kB / 0.6544 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.2084, allocations: 24 kB / 0.6544 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.2118, allocations: 1.484 MB / 0.6559 GB, free: 12.76 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.01026/0.222, allocations: 5.486 MB / 0.6613 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008905/0.2309, allocations: 3.13 MB / 0.6643 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.2332, allocations: 0.9908 MB / 0.6653 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.2339, allocations: 0.7336 MB / 0.666 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/0.2366, allocations: 1.154 MB / 0.6671 GB, free: 0.707 MB / 478.1 MB Notification: Performance of pre-optimization done (n=136): time 3.396e-06/0.2366, allocations: 0 / 0.6671 GB, free: 0.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04198/0.2786, allocations: 10.04 MB / 0.6769 GB, free: 6.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/0.2787, allocations: 124 kB / 0.677 GB, free: 6.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/0.2822, allocations: 1.548 MB / 0.6785 GB, free: 4.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000444/0.2826, allocations: 57.77 kB / 0.6786 GB, free: 4.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008538/0.2835, allocations: 0.6789 MB / 0.6793 GB, free: 4.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008604/0.2844, allocations: 496.9 kB / 0.6797 GB, free: 3.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.2856, allocations: 371.5 kB / 0.6801 GB, free: 3.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2857, allocations: 309 kB / 0.6804 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/0.2885, allocations: 1.066 MB / 0.6814 GB, free: 1.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.2913, allocations: 1.29 MB / 0.6827 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/0.2966, allocations: 2.259 MB / 0.6849 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.2966, allocations: 4 kB / 0.6849 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01108/0.3077, allocations: 4.14 MB / 0.6889 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3077, allocations: 12.05 kB / 0.689 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3077, allocations: 7.938 kB / 0.689 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009979/0.3177, allocations: 2.801 MB / 0.6917 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.3194, allocations: 343.5 kB / 0.692 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006966/0.3264, allocations: 3.368 MB / 0.6953 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.3289, allocations: 274.2 kB / 0.6956 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/0.3293, allocations: 71.97 kB / 0.6956 GB, free: 3.184 MB / 0.4981 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.0007072/0.33, allocations: 329.5 kB / 0.696 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/0.3306, allocations: 177.8 kB / 0.6961 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.347, allocations: 5.009 MB / 0.701 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.3471, allocations: 12 kB / 0.701 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3471, allocations: 8 kB / 0.701 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.3471, allocations: 7.984 kB / 0.701 GB, free: 13.62 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.02113/0.3683, allocations: 7.213 MB / 0.7081 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/0.3684, allocations: 0 / 0.7081 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.3696, allocations: 171.8 kB / 0.7083 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007571/0.3772, allocations: 2.142 MB / 0.7103 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/0.3775, allocations: 35.92 kB / 0.7104 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3039/0.6813, allocations: 10.06 MB / 0.7202 GB, free: 82.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.6815, allocations: 0.5625 kB / 0.7202 GB, free: 82.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/0.7024, allocations: 6.186 MB / 0.7262 GB, free: 81.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.7031, allocations: 292.3 kB / 0.7265 GB, free: 80.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/0.7036, allocations: 28.73 kB / 0.7265 GB, free: 80.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.7054, allocations: 146.5 kB / 0.7267 GB, free: 80.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/0.7065, allocations: 280.5 kB / 0.727 GB, free: 80.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.7067, allocations: 37.94 kB / 0.727 GB, free: 80.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001614/0.7083, allocations: 1.048 MB / 0.728 GB, free: 80.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.022e-06/0.7084, allocations: 0 / 0.728 GB, free: 80.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002192/0.7106, allocations: 0.575 MB / 0.7286 GB, free: 80.39 MB / 0.5137 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.01908/0.7297, allocations: 6.803 MB / 0.7352 GB, free: 78.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008962/0.7387, allocations: 3.067 MB / 0.7382 GB, free: 77.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7387, allocations: 0 / 0.7382 GB, free: 77.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005951/0.7447, allocations: 2.023 MB / 0.7402 GB, free: 76.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.7462, allocations: 160.8 kB / 0.7403 GB, free: 76.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/0.7908, allocations: 21.39 MB / 0.7612 GB, free: 57.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.7915, allocations: 1.298 MB / 0.7625 GB, free: 55.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008292/0.7923, allocations: 163.2 kB / 0.7627 GB, free: 55.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.7931, allocations: 0.6867 MB / 0.7633 GB, free: 54.86 MB / 0.5137 GB Notification: Performance of SimCode: time 5.82e-07/0.7931, allocations: 0 / 0.7633 GB, free: 54.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09837/0.8915, allocations: 48.28 MB / 0.8105 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.75, allocations: 3.75 kB / 0.8105 GB, free: 6.645 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)