Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.1137/0.1137, allocations: 12.59 MB / 28.22 MB, free: 0.7422 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.001048/0.001048, allocations: 111.4 kB / 31.84 MB, free: 3.871 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.249/1.249, 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.001203/0.001202, allocations: 188.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.4222/0.4222, allocations: 78.51 MB / 419.3 MB, free: 11.24 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.002512/0.002512, allocations: 135.3 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.119, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009017/0.1281, allocations: 8.813 MB / 0.6305 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005404/0.1335, allocations: 2.81 MB / 0.6333 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1348, allocations: 16 kB / 0.6333 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.136, allocations: 337.1 kB / 0.6336 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003381/0.1394, allocations: 1.301 MB / 0.6349 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.1414, allocations: 0.8513 MB / 0.6357 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.1446, allocations: 2.564 MB / 0.6382 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007753/0.1454, allocations: 495.2 kB / 0.6387 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.1468, allocations: 0.9844 MB / 0.6396 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.1485, allocations: 1.21 MB / 0.6408 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.149, allocations: 204 kB / 0.641 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009741/0.15, allocations: 471.6 kB / 0.6415 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005336/0.1505, allocations: 0.4903 MB / 0.6419 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.1517, allocations: 0.9984 MB / 0.6429 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.1544, allocations: 2.577 MB / 0.6454 GB, free: 7.703 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1544, allocations: 0 / 0.6454 GB, free: 7.703 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1544, allocations: 0 / 0.6454 GB, free: 7.703 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.519e-05/0.1545, allocations: 0 / 0.6454 GB, free: 7.703 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01353/0.168, allocations: 4.042 MB / 0.6494 GB, free: 3.602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1681, allocations: 15.98 kB / 0.6494 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.1683, allocations: 164.5 kB / 0.6496 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00453/0.1729, allocations: 0.7703 MB / 0.6503 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.1751, allocations: 1.219 MB / 0.6515 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004838/0.1756, allocations: 462.5 kB / 0.6519 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.1759, allocations: 123.9 kB / 0.6521 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.1789, allocations: 1.523 MB / 0.6536 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.1789, allocations: 3.938 kB / 0.6536 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.1791, allocations: 40 kB / 0.6536 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.1791, allocations: 24 kB / 0.6536 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.1822, allocations: 1.421 MB / 0.655 GB, free: 13.65 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.009535/0.1917, allocations: 5.394 MB / 0.6603 GB, free: 8.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00815/0.1999, allocations: 3.066 MB / 0.6633 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.2018, allocations: 0.9673 MB / 0.6642 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.2024, allocations: 0.7297 MB / 0.6649 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/0.2046, allocations: 1.118 MB / 0.666 GB, free: 1.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 3.146e-06/0.2046, allocations: 0 / 0.666 GB, free: 1.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.0377/0.2423, allocations: 9.76 MB / 0.6755 GB, free: 8.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.2424, allocations: 124.1 kB / 0.6757 GB, free: 7.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.2452, allocations: 1.543 MB / 0.6772 GB, free: 6.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.2455, allocations: 57.7 kB / 0.6772 GB, free: 6.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005688/0.2461, allocations: 0.6437 MB / 0.6779 GB, free: 5.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/0.2467, allocations: 489.1 kB / 0.6783 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008906/0.2476, allocations: 375.4 kB / 0.6787 GB, free: 4.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2477, allocations: 301.1 kB / 0.679 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.25, allocations: 1.05 MB / 0.68 GB, free: 3.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.2524, allocations: 1.27 MB / 0.6812 GB, free: 2.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/0.2569, allocations: 2.224 MB / 0.6834 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2569, allocations: 0 / 0.6834 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009049/0.266, allocations: 3.836 MB / 0.6871 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.266, allocations: 11.94 kB / 0.6872 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.2661, allocations: 4 kB / 0.6872 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008975/0.2751, allocations: 2.671 MB / 0.6898 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.2766, allocations: 367.5 kB / 0.6901 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.2825, allocations: 2.695 MB / 0.6928 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.2847, allocations: 278.1 kB / 0.693 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.2849, allocations: 67.98 kB / 0.6931 GB, free: 5.801 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,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.0006472/0.2856, allocations: 329.3 kB / 0.6934 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.286, allocations: 169.8 kB / 0.6936 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/0.3013, allocations: 4.946 MB / 0.6984 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.3014, allocations: 12 kB / 0.6984 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3014, allocations: 4 kB / 0.6984 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.3014, allocations: 11.97 kB / 0.6984 GB, free: 312 kB / 0.4981 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.01812/0.3196, allocations: 7.119 MB / 0.7054 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3196, allocations: 3.938 kB / 0.7054 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.3205, allocations: 167.8 kB / 0.7055 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006973/0.3275, allocations: 2.134 MB / 0.7076 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.3276, allocations: 31.98 kB / 0.7076 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2692/0.5969, allocations: 10.05 MB / 0.7175 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5969, allocations: 7.281 kB / 0.7175 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/0.6152, allocations: 6.119 MB / 0.7234 GB, free: 81.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.6159, allocations: 290.9 kB / 0.7237 GB, free: 81.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/0.6163, allocations: 27.52 kB / 0.7237 GB, free: 81.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.618, allocations: 144.5 kB / 0.7239 GB, free: 81.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008944/0.6189, allocations: 273.6 kB / 0.7241 GB, free: 81.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.6191, allocations: 41.11 kB / 0.7242 GB, free: 81.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001965/0.6211, allocations: 1.03 MB / 0.7252 GB, free: 80.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6211, allocations: 0 / 0.7252 GB, free: 80.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00216/0.6233, allocations: 0.5669 MB / 0.7257 GB, free: 80.74 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,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.01734/0.6406, allocations: 6.751 MB / 0.7323 GB, free: 78.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008326/0.649, allocations: 3.037 MB / 0.7353 GB, free: 77.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.649, allocations: 0 / 0.7353 GB, free: 77.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005199/0.6542, allocations: 1.984 MB / 0.7372 GB, free: 76.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.6555, allocations: 159.4 kB / 0.7374 GB, free: 76.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04422/0.6998, allocations: 21.93 MB / 0.7588 GB, free: 59.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009906/0.7008, allocations: 1.274 MB / 0.7601 GB, free: 57.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006408/0.7015, allocations: 158.8 kB / 0.7602 GB, free: 57.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009293/0.7024, allocations: 0.6633 MB / 0.7609 GB, free: 56.91 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.7024, allocations: 3.938 kB / 0.7609 GB, free: 56.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06819/0.7706, allocations: 46.7 MB / 0.8065 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.69, allocations: 3.938 kB / 0.8065 GB, free: 10.29 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)