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.001253/0.001253, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 239.3 MB, free: 4.633 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.001279/0.001279, allocations: 196.5 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4775/0.4775, allocations: 91.91 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 79.88 kB / 0.502 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3137, allocations: 71.26 MB / 0.5716 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.007155/0.3209, allocations: 8.741 MB / 0.5801 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.3261, allocations: 2.782 MB / 0.5828 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.3275, allocations: 16.88 kB / 0.5828 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009638/0.3285, allocations: 340.5 kB / 0.5832 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.3307, allocations: 1.029 MB / 0.5842 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.3325, allocations: 0.8852 MB / 0.585 GB, free: 28.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.3346, allocations: 2.36 MB / 0.5873 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.3352, allocations: 483.6 kB / 0.5878 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.3362, allocations: 0.93 MB / 0.5887 GB, free: 26.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.3372, allocations: 1.184 MB / 0.5899 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.3375, allocations: 199.8 kB / 0.5901 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.3383, allocations: 481.1 kB / 0.5905 GB, free: 25.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.3386, allocations: 0.49 MB / 0.591 GB, free: 25.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.3393, allocations: 0.9667 MB / 0.5919 GB, free: 24.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.3413, allocations: 2.51 MB / 0.5944 GB, free: 23.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3413, allocations: 0 / 0.5944 GB, free: 23.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3413, allocations: 0 / 0.5944 GB, free: 23.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.137e-05/0.3414, allocations: 5.344 kB / 0.5944 GB, free: 23.48 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.01322/0.3546, allocations: 3.724 MB / 0.598 GB, free: 21.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3547, allocations: 9.406 kB / 0.598 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/0.3549, allocations: 164.2 kB / 0.5982 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.36, allocations: 0.7632 MB / 0.5989 GB, free: 21.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.3623, allocations: 1.206 MB / 0.6001 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.3627, allocations: 462.8 kB / 0.6006 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.363, allocations: 121.2 kB / 0.6007 GB, free: 20.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.3663, allocations: 1.488 MB / 0.6021 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3664, allocations: 0 / 0.6021 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.3665, allocations: 46.52 kB / 0.6022 GB, free: 19.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.3665, allocations: 24.84 kB / 0.6022 GB, free: 19.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.3697, allocations: 1.394 MB / 0.6036 GB, free: 19.27 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.009053/0.3787, allocations: 5.355 MB / 0.6088 GB, free: 16.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008297/0.3871, allocations: 2.995 MB / 0.6117 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.3892, allocations: 0.9404 MB / 0.6126 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.3896, allocations: 0.7303 MB / 0.6134 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002223/0.3919, allocations: 1.094 MB / 0.6144 GB, free: 13.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.246e-06/0.3919, allocations: 4 kB / 0.6144 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04018/0.4321, allocations: 9.924 MB / 0.6241 GB, free: 8.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.4322, allocations: 120.1 kB / 0.6242 GB, free: 7.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.4346, allocations: 1.546 MB / 0.6257 GB, free: 6.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005183/0.4352, allocations: 53.64 kB / 0.6258 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.4356, allocations: 0.6397 MB / 0.6264 GB, free: 5.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/0.4361, allocations: 489.1 kB / 0.6269 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006418/0.4368, allocations: 379.4 kB / 0.6272 GB, free: 4.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.4368, allocations: 305.1 kB / 0.6275 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4388, allocations: 1.035 MB / 0.6285 GB, free: 3.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.4409, allocations: 1.251 MB / 0.6298 GB, free: 2.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.4448, allocations: 2.196 MB / 0.6319 GB, free: 15.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4449, allocations: 0 / 0.6319 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009698/0.4546, allocations: 3.816 MB / 0.6356 GB, free: 12.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4546, allocations: 12.06 kB / 0.6356 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.4547, allocations: 4 kB / 0.6357 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009872/0.4645, allocations: 2.69 MB / 0.6383 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.4665, allocations: 359.5 kB / 0.6386 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/0.4731, allocations: 2.691 MB / 0.6412 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/0.476, allocations: 274 kB / 0.6415 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003349/0.4764, allocations: 71.97 kB / 0.6416 GB, free: 5.945 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,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.0008091/0.4772, allocations: 321.5 kB / 0.6419 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/0.4777, allocations: 173.8 kB / 0.6421 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/0.494, allocations: 4.837 MB / 0.6468 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.494, allocations: 12 kB / 0.6468 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.4941, allocations: 7.938 kB / 0.6468 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.668e-05/0.4941, allocations: 7.984 kB / 0.6468 GB, free: 0.5625 MB / 446.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.02078/0.5149, allocations: 7.047 MB / 0.6537 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.5149, allocations: 0 / 0.6537 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.516, allocations: 163.8 kB / 0.6538 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007642/0.5237, allocations: 2.142 MB / 0.6559 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/0.524, allocations: 28 kB / 0.656 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/0.5494, allocations: 10.07 MB / 0.6658 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5495, allocations: 4 kB / 0.6658 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/0.5685, allocations: 6.065 MB / 0.6717 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.5692, allocations: 298.4 kB / 0.672 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/0.5698, allocations: 24 kB / 0.672 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.5717, allocations: 143.8 kB / 0.6722 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000823/0.5726, allocations: 257.4 kB / 0.6724 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5727, allocations: 43.98 kB / 0.6724 GB, free: 5.953 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.5742, allocations: 1.02 MB / 0.6734 GB, free: 4.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5742, allocations: 0 / 0.6734 GB, free: 4.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00148/0.5757, allocations: 0.5698 MB / 0.674 GB, free: 4.367 MB / 478.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 (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.01911/0.5948, allocations: 6.695 MB / 0.6805 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00984/0.6047, allocations: 3.037 MB / 0.6835 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6047, allocations: 0 / 0.6835 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006319/0.611, allocations: 1.962 MB / 0.6854 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.6129, allocations: 153.6 kB / 0.6856 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05485/0.6678, allocations: 23.23 MB / 0.7082 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.6687, allocations: 1.266 MB / 0.7095 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007579/0.6694, allocations: 162.8 kB / 0.7096 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009651/0.6704, allocations: 0.6555 MB / 0.7103 GB, free: 14 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.6704, allocations: 4 kB / 0.7103 GB, free: 14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07667/0.7471, allocations: 45.68 MB / 0.7549 GB, free: 460 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.68, allocations: 6.281 kB / 0.7549 GB, free: 456 kB / 0.545 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)