Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.007265/0.007265, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.274/1.274, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001419/0.001419, allocations: 195.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4927/0.4927, allocations: 91.9 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 78.89 kB / 0.5723 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1333, allocations: 71.28 MB / 0.6419 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.009213/0.1426, allocations: 8.827 MB / 0.6505 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005817/0.1485, allocations: 2.852 MB / 0.6533 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.1499, allocations: 19.94 kB / 0.6533 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.151, allocations: 349 kB / 0.6536 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1537, allocations: 1.098 MB / 0.6547 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1557, allocations: 0.9428 MB / 0.6556 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.1583, allocations: 2.451 MB / 0.658 GB, free: 3.484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006675/0.159, allocations: 0.4983 MB / 0.6585 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.1602, allocations: 0.9649 MB / 0.6594 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1614, allocations: 1.21 MB / 0.6606 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.1616, allocations: 204 kB / 0.6608 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007568/0.1624, allocations: 479.7 kB / 0.6613 GB, free: 108 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.1628, allocations: 0.4982 MB / 0.6618 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.1635, allocations: 0.9945 MB / 0.6627 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.1659, allocations: 2.593 MB / 0.6653 GB, free: 12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1659, allocations: 3.938 kB / 0.6653 GB, free: 12 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1659, allocations: 0 / 0.6653 GB, free: 12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.21e-05/0.166, allocations: 0 / 0.6653 GB, free: 12 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01178/0.1777, allocations: 3.754 MB / 0.6689 GB, free: 8.184 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1778, allocations: 12.03 kB / 0.669 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.178, allocations: 168.7 kB / 0.6691 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.1823, allocations: 0.7664 MB / 0.6699 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.1843, allocations: 1.231 MB / 0.6711 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/0.1848, allocations: 462.5 kB / 0.6715 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.185, allocations: 120 kB / 0.6716 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.1879, allocations: 1.551 MB / 0.6731 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.1879, allocations: 3.938 kB / 0.6731 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.188, allocations: 44 kB / 0.6732 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1881, allocations: 32 kB / 0.6732 GB, free: 3.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.191, allocations: 1.433 MB / 0.6746 GB, free: 2.18 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.009184/0.2002, allocations: 5.434 MB / 0.6799 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00827/0.2085, allocations: 3.066 MB / 0.6829 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.2107, allocations: 0.9747 MB / 0.6839 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.2114, allocations: 0.7258 MB / 0.6846 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002323/0.2137, allocations: 1.137 MB / 0.6857 GB, free: 6.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 4.669e-06/0.2138, allocations: 3.938 kB / 0.6857 GB, free: 6.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.03805/0.2518, allocations: 10.03 MB / 0.6955 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.2519, allocations: 120.1 kB / 0.6956 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.2546, allocations: 1.536 MB / 0.6971 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.2549, allocations: 57.64 kB / 0.6972 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/0.2555, allocations: 0.6632 MB / 0.6978 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006937/0.2562, allocations: 485 kB / 0.6983 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.2572, allocations: 379.5 kB / 0.6986 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.2573, allocations: 301.1 kB / 0.6989 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.2596, allocations: 1.05 MB / 0.6999 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.2621, allocations: 1.278 MB / 0.7012 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.2666, allocations: 2.239 MB / 0.7034 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.2666, allocations: 0 / 0.7034 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009664/0.2763, allocations: 3.999 MB / 0.7073 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2764, allocations: 4 kB / 0.7073 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.2764, allocations: 4 kB / 0.7073 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008786/0.2852, allocations: 2.687 MB / 0.7099 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.287, allocations: 363.5 kB / 0.7103 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005831/0.2928, allocations: 2.691 MB / 0.7129 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.2954, allocations: 266.2 kB / 0.7131 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.2957, allocations: 75.97 kB / 0.7132 GB, free: 9.801 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.0008326/0.2966, allocations: 317.5 kB / 0.7135 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.2971, allocations: 177.8 kB / 0.7137 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.3122, allocations: 4.915 MB / 0.7185 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.3122, allocations: 19.94 kB / 0.7185 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3122, allocations: 0 / 0.7185 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.3123, allocations: 3.984 kB / 0.7185 GB, free: 4.344 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.01848/0.3308, allocations: 7.158 MB / 0.7255 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.3308, allocations: 0 / 0.7255 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.3318, allocations: 163.7 kB / 0.7257 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006731/0.3386, allocations: 2.142 MB / 0.7277 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/0.3389, allocations: 31.98 kB / 0.7278 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/0.362, allocations: 10.05 MB / 0.7376 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.362, allocations: 3.984 kB / 0.7376 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/0.3789, allocations: 6.165 MB / 0.7436 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/0.3795, allocations: 290.5 kB / 0.7439 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/0.38, allocations: 28 kB / 0.7439 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.3816, allocations: 143.8 kB / 0.7441 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008603/0.3825, allocations: 273.4 kB / 0.7443 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.3827, allocations: 35.98 kB / 0.7444 GB, free: 9.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001684/0.3843, allocations: 1.036 MB / 0.7454 GB, free: 8.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.3844, allocations: 0 / 0.7454 GB, free: 8.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001695/0.3861, allocations: 0.5659 MB / 0.7459 GB, free: 7.934 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.01736/0.4034, allocations: 6.8 MB / 0.7526 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008594/0.4121, allocations: 3.037 MB / 0.7555 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4121, allocations: 0 / 0.7555 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0058/0.4179, allocations: 2.013 MB / 0.7575 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.4195, allocations: 153.4 kB / 0.7576 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.303/0.7225, allocations: 20.19 MB / 0.7774 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.7236, allocations: 1.281 MB / 0.7786 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007512/0.7244, allocations: 158.3 kB / 0.7788 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/0.7252, allocations: 0.6739 MB / 0.7794 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/0.7253, allocations: 0 / 0.7794 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06638/0.7916, allocations: 46.85 MB / 0.8252 GB, free: 78.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.41, allocations: 5.469 kB / 0.8252 GB, free: 78.67 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)