Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000992/0.0009921, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000871/0.0008709, allocations: 94.03 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4227/0.4227, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.428e-05, allocations: 0 / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 69.35 MB / 0.5481 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.42, allocations: 116.2 MB / 0.6616 GB, free: 112 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4203, allocations: 91.94 kB / 0.6617 GB, free: 20 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3936/0.8139, allocations: 53.11 MB / 0.7135 GB, free: 97.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8139, allocations: 4 kB / 0.7135 GB, free: 97.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.814, allocations: 50.92 kB / 0.7136 GB, free: 97.31 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005776/0.8198, allocations: 2.478 MB / 0.716 GB, free: 94.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.8198, allocations: 11.97 kB / 0.716 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/0.8201, allocations: 202.2 kB / 0.7162 GB, free: 94.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.8229, allocations: 0.6176 MB / 0.7168 GB, free: 93.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.8248, allocations: 1.247 MB / 0.718 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.8253, allocations: 0.5877 MB / 0.7186 GB, free: 92.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.8255, allocations: 135.9 kB / 0.7187 GB, free: 91.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.8278, allocations: 1.571 MB / 0.7203 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.8278, allocations: 3.938 kB / 0.7203 GB, free: 90.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.828, allocations: 56 kB / 0.7203 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.828, allocations: 32 kB / 0.7204 GB, free: 90.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.8301, allocations: 1.381 MB / 0.7217 GB, free: 88.79 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008934/0.8391, allocations: 6.302 MB / 0.7279 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007284/0.8464, allocations: 3.47 MB / 0.7312 GB, free: 78.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.8476, allocations: 0.8656 MB / 0.7321 GB, free: 77.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.848, allocations: 0.7336 MB / 0.7328 GB, free: 76.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8495, allocations: 1.032 MB / 0.7338 GB, free: 75.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 3.056e-06/0.8495, allocations: 0 / 0.7338 GB, free: 75.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=159): time 0.01431/0.8638, allocations: 5.192 MB / 0.7389 GB, free: 70.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.8639, allocations: 149.8 kB / 0.739 GB, free: 70.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.8658, allocations: 1.443 MB / 0.7404 GB, free: 68.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.8662, allocations: 61.64 kB / 0.7405 GB, free: 68.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.8666, allocations: 0.8138 MB / 0.7413 GB, free: 68.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.867, allocations: 0.5699 MB / 0.7418 GB, free: 67.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.8671, allocations: 32 kB / 0.7419 GB, free: 67.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.8672, allocations: 369.9 kB / 0.7422 GB, free: 67.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.8684, allocations: 0.7187 MB / 0.7429 GB, free: 66.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8695, allocations: 0.9301 MB / 0.7438 GB, free: 65.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.8707, allocations: 0.7908 MB / 0.7446 GB, free: 64.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8707, allocations: 4 kB / 0.7446 GB, free: 64.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003708/0.8744, allocations: 2.469 MB / 0.747 GB, free: 62.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.8749, allocations: 1.745 MB / 0.7487 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.8749, allocations: 4 kB / 0.7487 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007272/0.8822, allocations: 2.511 MB / 0.7512 GB, free: 57.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8835, allocations: 303.6 kB / 0.7515 GB, free: 57.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/0.8873, allocations: 2.265 MB / 0.7537 GB, free: 55.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.8896, allocations: 314.3 kB / 0.754 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.8898, allocations: 59.98 kB / 0.754 GB, free: 54.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.8898, allocations: 4 kB / 0.754 GB, free: 54.77 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003496/0.8933, allocations: 2.259 MB / 0.7563 GB, free: 52.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.8934, allocations: 11.89 kB / 0.7563 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007383/0.9008, allocations: 2.508 MB / 0.7587 GB, free: 49.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.9019, allocations: 299.5 kB / 0.759 GB, free: 49.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.9058, allocations: 2.253 MB / 0.7612 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.9081, allocations: 298.5 kB / 0.7615 GB, free: 47.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.9083, allocations: 55.98 kB / 0.7615 GB, free: 47.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * 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.0003684/0.9087, allocations: 184.7 kB / 0.7617 GB, free: 46.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/0.9092, allocations: 209.4 kB / 0.7619 GB, free: 46.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.9234, allocations: 5.408 MB / 0.7672 GB, free: 41.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.9234, allocations: 20 kB / 0.7672 GB, free: 41.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.9234, allocations: 0 / 0.7672 GB, free: 41.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.9235, allocations: 7.969 kB / 0.7672 GB, free: 41.21 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01792/0.9414, allocations: 7.836 MB / 0.7749 GB, free: 33.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.9415, allocations: 0 / 0.7749 GB, free: 33.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.9429, allocations: 235.7 kB / 0.7751 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/0.949, allocations: 2.005 MB / 0.7771 GB, free: 31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003988/0.9494, allocations: 35.98 kB / 0.7771 GB, free: 30.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/0.9659, allocations: 7.842 MB / 0.7848 GB, free: 22.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.966, allocations: 0 / 0.7848 GB, free: 22.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.9822, allocations: 6.528 MB / 0.7911 GB, free: 16.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.9829, allocations: 330 kB / 0.7914 GB, free: 16.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.9834, allocations: 28 kB / 0.7915 GB, free: 16.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.9854, allocations: 215.8 kB / 0.7917 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/0.9862, allocations: 281.2 kB / 0.7919 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.9864, allocations: 47.98 kB / 0.792 GB, free: 15.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001557/0.9879, allocations: 1.106 MB / 0.7931 GB, free: 14.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.988, allocations: 4 kB / 0.7931 GB, free: 14.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002227/0.9902, allocations: 0.928 MB / 0.794 GB, free: 13.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * 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.01597/1.006, allocations: 7.322 MB / 0.8011 GB, free: 6.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01232/1.019, allocations: 4.654 MB / 0.8057 GB, free: 1.391 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.019, allocations: 0 / 0.8057 GB, free: 1.391 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005469/1.024, allocations: 2.041 MB / 0.8077 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/1.026, allocations: 166.8 kB / 0.8078 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008358/1.034, allocations: 3.504 MB / 0.8112 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.035, allocations: 1.45 MB / 0.8127 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00169/1.037, allocations: 316.9 kB / 0.813 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.038, allocations: 0.7609 MB / 0.8137 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/1.038, allocations: 0 / 0.8137 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08991/1.128, allocations: 53.15 MB / 0.8656 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.128, allocations: 180.8 kB / 0.8658 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/4.9, allocations: 3.938 kB / 0.8658 GB, free: 3.848 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)