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.0009235/0.0009235, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.322/1.322, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001319/0.001319, allocations: 181 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4529/0.4529, allocations: 79.45 MB / 420.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 8 kB / 0.4891 GB, free: 5.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3459, allocations: 69.5 MB / 0.557 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.007086/0.353, allocations: 7.633 MB / 0.5644 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.3587, allocations: 2.727 MB / 0.5671 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.3601, allocations: 15.69 kB / 0.5671 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008588/0.361, allocations: 232.8 kB / 0.5673 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.3632, allocations: 0.9132 MB / 0.5682 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.3648, allocations: 0.6985 MB / 0.5689 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.3668, allocations: 1.451 MB / 0.5703 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.3674, allocations: 375.7 kB / 0.5707 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009358/0.3683, allocations: 0.7742 MB / 0.5714 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3694, allocations: 1.014 MB / 0.5724 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3695, allocations: 94.78 kB / 0.5725 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.3702, allocations: 333.7 kB / 0.5728 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.3705, allocations: 375.4 kB / 0.5732 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.3707, allocations: 310.2 kB / 0.5735 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3721, allocations: 1.831 MB / 0.5753 GB, free: 32.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.3721, allocations: 0 / 0.5753 GB, free: 32.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3721, allocations: 0.6875 kB / 0.5753 GB, free: 32.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.3721, allocations: 0 / 0.5753 GB, free: 32.73 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01132/0.3834, allocations: 3.498 MB / 0.5787 GB, free: 31.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3835, allocations: 9.406 kB / 0.5787 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004169/0.3839, allocations: 168.3 kB / 0.5789 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.3885, allocations: 0.7674 MB / 0.5796 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.3906, allocations: 1.155 MB / 0.5807 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.391, allocations: 478.4 kB / 0.5812 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.3912, allocations: 119.7 kB / 0.5813 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.3939, allocations: 1.556 MB / 0.5828 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3939, allocations: 8.5 kB / 0.5828 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.394, allocations: 40.16 kB / 0.5829 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.3941, allocations: 26.16 kB / 0.5829 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.3969, allocations: 1.476 MB / 0.5843 GB, free: 28.81 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.008902/0.4058, allocations: 5.549 MB / 0.5898 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008913/0.4148, allocations: 3.569 MB / 0.5932 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.4153, allocations: 0.7319 MB / 0.594 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002421/0.4178, allocations: 1.169 MB / 0.5951 GB, free: 22.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 4.859e-06/0.4178, allocations: 1.125 kB / 0.5951 GB, free: 22.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04469/0.4625, allocations: 12.02 MB / 0.6068 GB, free: 21.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4626, allocations: 118.8 kB / 0.6069 GB, free: 20.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.4651, allocations: 1.517 MB / 0.6084 GB, free: 20.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.4655, allocations: 55.8 kB / 0.6085 GB, free: 20.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.4659, allocations: 0.6509 MB / 0.6091 GB, free: 19.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.4664, allocations: 481.9 kB / 0.6096 GB, free: 19.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.4665, allocations: 40.09 kB / 0.6096 GB, free: 19.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4666, allocations: 390.9 kB / 0.61 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.4689, allocations: 1.106 MB / 0.6111 GB, free: 18.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.4712, allocations: 1.319 MB / 0.6124 GB, free: 17.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.4737, allocations: 1.198 MB / 0.6135 GB, free: 17.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.4737, allocations: 1.25 kB / 0.6135 GB, free: 17.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009269/0.4829, allocations: 4.227 MB / 0.6177 GB, free: 14.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.483, allocations: 4 kB / 0.6177 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.483, allocations: 11.95 kB / 0.6177 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008962/0.492, allocations: 3.055 MB / 0.6207 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.4937, allocations: 359.5 kB / 0.621 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.4996, allocations: 3.007 MB / 0.6239 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.5023, allocations: 318.5 kB / 0.6242 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.5025, allocations: 71.98 kB / 0.6243 GB, free: 7.301 MB / 430.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 ($whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006749/0.5032, allocations: 321.5 kB / 0.6246 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.5035, allocations: 171.2 kB / 0.6248 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.5193, allocations: 5.885 MB / 0.6305 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5193, allocations: 12 kB / 0.6305 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5193, allocations: 0 / 0.6305 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.5194, allocations: 9.766 kB / 0.6305 GB, free: 0.8906 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 postOpt removeSimpleEquations (simulation): time 0.02061/0.54, allocations: 8.144 MB / 0.6385 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.54, allocations: 0 / 0.6385 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5411, allocations: 155.7 kB / 0.6386 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008003/0.5491, allocations: 2.514 MB / 0.6411 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/0.5494, allocations: 32 kB / 0.6411 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02605/0.5754, allocations: 10.87 MB / 0.6517 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5755, allocations: 4 kB / 0.6518 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/0.5955, allocations: 7.215 MB / 0.6588 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.5963, allocations: 290.6 kB / 0.6591 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/0.5967, allocations: 33.17 kB / 0.6591 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.5983, allocations: 179.8 kB / 0.6593 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000763/0.5991, allocations: 257.3 kB / 0.6595 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5992, allocations: 39.98 kB / 0.6596 GB, free: 2.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.6008, allocations: 1.012 MB / 0.6606 GB, free: 1.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6008, allocations: 0 / 0.6606 GB, free: 1.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001622/0.6024, allocations: 0.5698 MB / 0.6611 GB, free: 1.227 MB / 462.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,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01999/0.6224, allocations: 7.954 MB / 0.6689 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009251/0.6317, allocations: 3.315 MB / 0.6721 GB, free: 5.906 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6318, allocations: 0.875 kB / 0.6721 GB, free: 5.906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006452/0.6382, allocations: 2.203 MB / 0.6743 GB, free: 3.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.6395, allocations: 137.2 kB / 0.6744 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00843/0.648, allocations: 6.958 MB / 0.6812 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.6488, allocations: 1.301 MB / 0.6825 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006681/0.6495, allocations: 160.4 kB / 0.6826 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/0.6504, allocations: 0.6516 MB / 0.6833 GB, free: 10.39 MB / 494.1 MB Notification: Performance of SimCode: time 3.106e-06/0.6504, allocations: 0 / 0.6833 GB, free: 10.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06621/0.7166, allocations: 40.1 MB / 0.7224 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.7169, allocations: 195.6 kB / 0.7226 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.694, allocations: 0 / 0.7226 GB, free: 2.379 MB / 0.5137 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/linux/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) Environment - environmentSimulation: