Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.0008087/0.0008084, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.398/1.398, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001257/0.001257, allocations: 183.2 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5213/0.5213, allocations: 91.92 MB / 433.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004208, allocations: 12 kB / 0.5049 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 72.47 MB / 0.5756 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.00701/0.3911, allocations: 8.569 MB / 0.584 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.3967, allocations: 2.874 MB / 0.5868 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3982, allocations: 15.09 kB / 0.5868 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3993, allocations: 262.9 kB / 0.5871 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.4022, allocations: 0.9005 MB / 0.588 GB, free: 27.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.4043, allocations: 0.8754 MB / 0.5888 GB, free: 27.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.4073, allocations: 2.26 MB / 0.591 GB, free: 26.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.4083, allocations: 446.4 kB / 0.5915 GB, free: 25.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.4098, allocations: 0.8069 MB / 0.5922 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.4117, allocations: 1.065 MB / 0.5933 GB, free: 25.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.4124, allocations: 95.69 kB / 0.5934 GB, free: 25.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.4141, allocations: 369.6 kB / 0.5937 GB, free: 25.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008321/0.415, allocations: 383.6 kB / 0.5941 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.4166, allocations: 0.8852 MB / 0.595 GB, free: 24.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.4202, allocations: 2.397 MB / 0.5973 GB, free: 23.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4202, allocations: 0 / 0.5973 GB, free: 23.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4202, allocations: 0 / 0.5973 GB, free: 23.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00015/0.4204, allocations: 1.062 kB / 0.5973 GB, free: 23.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01537/0.4358, allocations: 3.509 MB / 0.6007 GB, free: 22.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.161e-05/0.4359, allocations: 10.23 kB / 0.6007 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008658/0.4367, allocations: 164.5 kB / 0.6009 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.4425, allocations: 0.771 MB / 0.6016 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.4461, allocations: 1.221 MB / 0.6028 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000616/0.4467, allocations: 473.8 kB / 0.6033 GB, free: 20.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006178/0.4473, allocations: 119.2 kB / 0.6034 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/0.4525, allocations: 1.613 MB / 0.605 GB, free: 19.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.4525, allocations: 0 / 0.605 GB, free: 19.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.4528, allocations: 41.81 kB / 0.605 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.4528, allocations: 24.75 kB / 0.605 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.4571, allocations: 1.515 MB / 0.6065 GB, free: 19.35 MB / 430.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.01323/0.4703, allocations: 5.502 MB / 0.6119 GB, free: 16.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.4814, allocations: 3.649 MB / 0.6155 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.4844, allocations: 1.054 MB / 0.6165 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006569/0.4851, allocations: 0.7331 MB / 0.6172 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003699/0.4889, allocations: 1.205 MB / 0.6184 GB, free: 13.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 1.144e-05/0.4889, allocations: 0 / 0.6184 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04705/0.536, allocations: 11.87 MB / 0.63 GB, free: 5.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.5361, allocations: 120.1 kB / 0.6301 GB, free: 5.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/0.5392, allocations: 1.539 MB / 0.6316 GB, free: 3.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005132/0.5398, allocations: 57.69 kB / 0.6316 GB, free: 3.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.5404, allocations: 0.6476 MB / 0.6323 GB, free: 2.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008763/0.5413, allocations: 481.1 kB / 0.6327 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006623/0.542, allocations: 193.7 kB / 0.6329 GB, free: 2.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.5421, allocations: 309.1 kB / 0.6332 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.5449, allocations: 1.132 MB / 0.6343 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/0.548, allocations: 1.356 MB / 0.6356 GB, free: 15.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/0.5539, allocations: 2.403 MB / 0.638 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.554, allocations: 0 / 0.638 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01222/0.5662, allocations: 4.257 MB / 0.6422 GB, free: 8.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.5663, allocations: 11.94 kB / 0.6422 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/0.5663, allocations: 4 kB / 0.6422 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/0.5774, allocations: 3.058 MB / 0.6452 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.5795, allocations: 371.5 kB / 0.6455 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008087/0.5876, allocations: 3.015 MB / 0.6485 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.5914, allocations: 326 kB / 0.6488 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005419/0.592, allocations: 71.98 kB / 0.6488 GB, free: 1.625 MB / 446.1 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 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001491/0.5935, allocations: 325.5 kB / 0.6491 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009298/0.5944, allocations: 169.8 kB / 0.6493 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02055/0.615, allocations: 6.005 MB / 0.6552 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.6151, allocations: 12 kB / 0.6552 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.6151, allocations: 3.938 kB / 0.6552 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/0.6152, allocations: 11.92 kB / 0.6552 GB, free: 11.07 MB / 462.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 postOpt removeSimpleEquations (simulation): time 0.0257/0.6409, allocations: 8.176 MB / 0.6632 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.641, allocations: 3.938 kB / 0.6632 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.6422, allocations: 175.8 kB / 0.6634 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00894/0.6512, allocations: 2.509 MB / 0.6658 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004267/0.6516, allocations: 28 kB / 0.6658 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02902/0.6807, allocations: 10.33 MB / 0.6759 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6807, allocations: 0 / 0.6759 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02341/0.7041, allocations: 7.267 MB / 0.683 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/0.7051, allocations: 298.5 kB / 0.6833 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/0.7059, allocations: 28 kB / 0.6833 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/0.7082, allocations: 191.8 kB / 0.6835 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/0.7093, allocations: 265.2 kB / 0.6838 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/0.7096, allocations: 39.98 kB / 0.6838 GB, free: 13.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002234/0.7118, allocations: 1.036 MB / 0.6848 GB, free: 12.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7119, allocations: 0 / 0.6848 GB, free: 12.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002615/0.7145, allocations: 0.5659 MB / 0.6854 GB, free: 11.85 MB / 494.1 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.02454/0.739, allocations: 7.889 MB / 0.6931 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01152/0.7506, allocations: 3.386 MB / 0.6964 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.7507, allocations: 0 / 0.6964 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007656/0.7583, allocations: 2.237 MB / 0.6986 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.7611, allocations: 153.7 kB / 0.6987 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07129/0.8324, allocations: 26.33 MB / 0.7244 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.8337, allocations: 1.278 MB / 0.7257 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001118/0.8348, allocations: 162.8 kB / 0.7258 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.8361, allocations: 0.6516 MB / 0.7265 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.8361, allocations: 0 / 0.7265 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07568/0.9118, allocations: 42.14 MB / 0.7676 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.9121, allocations: 215.3 kB / 0.7678 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/4.086, allocations: 0 / 0.7678 GB, free: 6.324 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)