Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.008194/0.008194, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.26/1.26, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001239/0.001239, allocations: 184.5 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.4621/0.4621, allocations: 91.9 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 82.38 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 71.28 MB / 0.6419 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.008454/0.1259, allocations: 8.743 MB / 0.6504 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.1308, allocations: 2.79 MB / 0.6531 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006061/0.1314, allocations: 12 kB / 0.6532 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.1322, allocations: 329.1 kB / 0.6535 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.1342, allocations: 1.094 MB / 0.6545 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.1359, allocations: 0.8929 MB / 0.6554 GB, free: 6.148 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.138, allocations: 2.369 MB / 0.6577 GB, free: 3.773 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.1386, allocations: 486 kB / 0.6582 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.1395, allocations: 0.9299 MB / 0.6591 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.1406, allocations: 1.186 MB / 0.6603 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.1409, allocations: 203.9 kB / 0.6604 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.1415, allocations: 479.7 kB / 0.6609 GB, free: 488 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.1419, allocations: 0.4903 MB / 0.6614 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000728/0.1426, allocations: 0.9751 MB / 0.6623 GB, free: 15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.1447, allocations: 2.531 MB / 0.6648 GB, free: 12.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1447, allocations: 3.938 kB / 0.6648 GB, free: 12.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1447, allocations: 0 / 0.6648 GB, free: 12.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.1447, allocations: 0 / 0.6648 GB, free: 12.46 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01115/0.1559, allocations: 3.726 MB / 0.6685 GB, free: 8.672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1559, allocations: 8.031 kB / 0.6685 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.1561, allocations: 164.5 kB / 0.6686 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.1603, allocations: 0.7664 MB / 0.6694 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.1621, allocations: 1.204 MB / 0.6705 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.1625, allocations: 458.4 kB / 0.671 GB, free: 5.949 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.1627, allocations: 120 kB / 0.6711 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.1654, allocations: 1.492 MB / 0.6725 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1654, allocations: 0 / 0.6725 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.1655, allocations: 44 kB / 0.6726 GB, free: 4.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.1655, allocations: 24 kB / 0.6726 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.1683, allocations: 1.402 MB / 0.674 GB, free: 2.812 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.007933/0.1762, allocations: 5.327 MB / 0.6792 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/0.1837, allocations: 2.996 MB / 0.6821 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.1854, allocations: 0.9395 MB / 0.683 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.186, allocations: 0.7258 MB / 0.6837 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/0.188, allocations: 1.098 MB / 0.6848 GB, free: 7.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=132): time 2.956e-06/0.188, allocations: 0 / 0.6848 GB, free: 7.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=132): time 0.03723/0.2253, allocations: 9.923 MB / 0.6945 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2254, allocations: 120.2 kB / 0.6946 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.2275, allocations: 1.535 MB / 0.6961 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.2277, allocations: 57.7 kB / 0.6962 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.2282, allocations: 0.6475 MB / 0.6968 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.2286, allocations: 489 kB / 0.6973 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006171/0.2292, allocations: 375.5 kB / 0.6976 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.2293, allocations: 305.1 kB / 0.6979 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.2313, allocations: 1.031 MB / 0.6989 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.2335, allocations: 1.263 MB / 0.7002 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.2374, allocations: 2.193 MB / 0.7023 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2374, allocations: 7.984 kB / 0.7023 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.008096/0.2455, allocations: 3.82 MB / 0.706 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2455, allocations: 8 kB / 0.706 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.2456, allocations: 4 kB / 0.706 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008349/0.2539, allocations: 2.675 MB / 0.7087 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.2553, allocations: 359.5 kB / 0.709 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/0.2607, allocations: 2.683 MB / 0.7116 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.2627, allocations: 274 kB / 0.7119 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.2628, allocations: 67.98 kB / 0.7119 GB, free: 11.08 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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.0005445/0.2634, allocations: 321.5 kB / 0.7123 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.2636, allocations: 169.8 kB / 0.7124 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.2775, allocations: 4.841 MB / 0.7171 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.2776, allocations: 16 kB / 0.7172 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.2776, allocations: 3.938 kB / 0.7172 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.2776, allocations: 7.969 kB / 0.7172 GB, free: 5.695 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.01674/0.2944, allocations: 7.045 MB / 0.7241 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.2944, allocations: 8.031 kB / 0.7241 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008807/0.2953, allocations: 155.8 kB / 0.7242 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006572/0.3019, allocations: 2.134 MB / 0.7263 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.3021, allocations: 31.98 kB / 0.7263 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.3243, allocations: 10.05 MB / 0.7361 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3243, allocations: 4 kB / 0.7361 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.3408, allocations: 6.069 MB / 0.7421 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.3414, allocations: 290.5 kB / 0.7423 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.3416, allocations: 20 kB / 0.7424 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.343, allocations: 143.8 kB / 0.7425 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007555/0.3437, allocations: 257.4 kB / 0.7428 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.3439, allocations: 43.92 kB / 0.7428 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001367/0.3452, allocations: 1.024 MB / 0.7438 GB, free: 10.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3452, allocations: 0 / 0.7438 GB, free: 10.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001296/0.3465, allocations: 0.5699 MB / 0.7443 GB, free: 9.523 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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.01636/0.3629, allocations: 6.695 MB / 0.7509 GB, free: 2.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007726/0.3707, allocations: 2.998 MB / 0.7538 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3707, allocations: 0 / 0.7538 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00526/0.376, allocations: 1.954 MB / 0.7557 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.3771, allocations: 154.2 kB / 0.7559 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2952/0.6723, allocations: 21.72 MB / 0.7771 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/0.6733, allocations: 1.268 MB / 0.7783 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007434/0.674, allocations: 152.2 kB / 0.7785 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/0.6748, allocations: 0.6617 MB / 0.7791 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.6748, allocations: 3.75 kB / 0.7791 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06667/0.7415, allocations: 46.22 MB / 0.8242 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.62, allocations: 10.09 kB / 0.8243 GB, free: 78.83 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)