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.006672/0.006673, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.389/1.389, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001416/0.001416, allocations: 200.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5057/0.5057, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 82.53 kB / 0.5723 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, 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.009702/0.1414, allocations: 8.957 MB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006537/0.148, allocations: 2.883 MB / 0.6534 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1496, allocations: 19.94 kB / 0.6535 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1508, allocations: 337 kB / 0.6538 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.1538, allocations: 1.033 MB / 0.6548 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.1562, allocations: 0.965 MB / 0.6557 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003806/0.16, allocations: 2.498 MB / 0.6582 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1611, allocations: 0.5259 MB / 0.6587 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.1627, allocations: 0.9844 MB / 0.6596 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.1647, allocations: 1.229 MB / 0.6608 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.1655, allocations: 212 kB / 0.6611 GB, free: 352 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1668, allocations: 495.8 kB / 0.6615 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.1676, allocations: 0.5175 MB / 0.662 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.1692, allocations: 1.01 MB / 0.663 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.1728, allocations: 2.679 MB / 0.6656 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1728, allocations: 0 / 0.6656 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1728, allocations: 0 / 0.6656 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.459e-05/0.1729, allocations: 0 / 0.6656 GB, free: 11.64 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.01463/0.1876, allocations: 3.812 MB / 0.6694 GB, free: 7.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1876, allocations: 8.031 kB / 0.6694 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005127/0.1882, allocations: 176.9 kB / 0.6695 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.1932, allocations: 0.7742 MB / 0.6703 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.1961, allocations: 1.251 MB / 0.6715 GB, free: 5.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000657/0.1968, allocations: 0.4924 MB / 0.672 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/0.1973, allocations: 120 kB / 0.6721 GB, free: 4.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004185/0.2015, allocations: 1.587 MB / 0.6737 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2015, allocations: 0 / 0.6737 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.2017, allocations: 44 kB / 0.6737 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.2017, allocations: 28 kB / 0.6737 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.2055, allocations: 1.484 MB / 0.6752 GB, free: 1.602 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.01201/0.2176, allocations: 5.497 MB / 0.6805 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009388/0.227, allocations: 3.13 MB / 0.6836 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/0.2295, allocations: 0.9941 MB / 0.6846 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/0.2303, allocations: 0.7336 MB / 0.6853 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002856/0.2331, allocations: 1.137 MB / 0.6864 GB, free: 5.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=136): time 4.158e-06/0.2332, allocations: 0 / 0.6864 GB, free: 5.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04494/0.2781, allocations: 10.04 MB / 0.6962 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.2783, allocations: 124.2 kB / 0.6963 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/0.2818, allocations: 1.556 MB / 0.6978 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000664/0.2825, allocations: 49.7 kB / 0.6979 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007959/0.2833, allocations: 0.675 MB / 0.6985 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009484/0.2843, allocations: 0.4892 MB / 0.699 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/0.2858, allocations: 375.5 kB / 0.6994 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.286, allocations: 309.1 kB / 0.6997 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.289, allocations: 1.07 MB / 0.7007 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.292, allocations: 1.298 MB / 0.702 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/0.2974, allocations: 2.255 MB / 0.7042 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/0.2974, allocations: 0 / 0.7042 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01208/0.3095, allocations: 4.144 MB / 0.7082 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.3096, allocations: 8 kB / 0.7082 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.3096, allocations: 4 kB / 0.7082 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.3203, allocations: 2.808 MB / 0.711 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.3221, allocations: 343.5 kB / 0.7113 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007658/0.3298, allocations: 3.364 MB / 0.7146 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.3326, allocations: 270.2 kB / 0.7149 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/0.3329, allocations: 71.98 kB / 0.7149 GB, free: 8.012 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.0008543/0.3338, allocations: 329.5 kB / 0.7152 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.3343, allocations: 177.8 kB / 0.7154 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/0.3522, allocations: 5.001 MB / 0.7203 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.3523, allocations: 16 kB / 0.7203 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.3523, allocations: 0 / 0.7203 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/0.3524, allocations: 11.91 kB / 0.7203 GB, free: 2.449 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.02249/0.3749, allocations: 7.206 MB / 0.7274 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.3749, allocations: 4 kB / 0.7274 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.3761, allocations: 175.7 kB / 0.7275 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008213/0.3844, allocations: 2.142 MB / 0.7296 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003991/0.3848, allocations: 35.98 kB / 0.7297 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/0.4133, allocations: 10.05 MB / 0.7395 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4133, allocations: 0 / 0.7395 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/0.435, allocations: 6.187 MB / 0.7455 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008085/0.4359, allocations: 286.5 kB / 0.7458 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007168/0.4366, allocations: 31.98 kB / 0.7458 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.4389, allocations: 151.8 kB / 0.746 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001177/0.4401, allocations: 277.4 kB / 0.7462 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002887/0.4404, allocations: 35.98 kB / 0.7463 GB, free: 7.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002462/0.4429, allocations: 1.044 MB / 0.7473 GB, free: 6.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4429, allocations: 0 / 0.7473 GB, free: 6.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002719/0.4456, allocations: 0.5737 MB / 0.7478 GB, free: 5.926 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.02187/0.4675, allocations: 6.813 MB / 0.7545 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01075/0.4783, allocations: 3.074 MB / 0.7575 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.4784, allocations: 4 kB / 0.7575 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007171/0.4855, allocations: 2.028 MB / 0.7595 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.4875, allocations: 165.4 kB / 0.7596 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3373/0.8248, allocations: 21.37 MB / 0.7805 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.8255, allocations: 1.286 MB / 0.7818 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007145/0.8262, allocations: 166.1 kB / 0.7819 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/0.8271, allocations: 0.6846 MB / 0.7826 GB, free: 114 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/0.8271, allocations: 0 / 0.7826 GB, free: 114 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07169/0.8988, allocations: 50.15 MB / 0.8316 GB, free: 71.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.25, allocations: 8.641 kB / 0.8316 GB, free: 71.98 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)