Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",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.001188/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.4/1.4, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001582/0.001582, allocations: 184.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5251/0.5251, allocations: 91.9 MB / 431.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 76.17 kB / 0.5013 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4487, allocations: 71.26 MB / 0.5709 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.007416/0.4562, allocations: 7.614 MB / 0.5783 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005226/0.4614, allocations: 2.366 MB / 0.5807 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.4628, allocations: 11.66 kB / 0.5807 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008637/0.4637, allocations: 223.2 kB / 0.5809 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.4664, allocations: 0.9384 MB / 0.5818 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.4677, allocations: 0.5427 MB / 0.5823 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.4695, allocations: 1.729 MB / 0.584 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.4699, allocations: 288 kB / 0.5843 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.4705, allocations: 0.6804 MB / 0.585 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008555/0.4714, allocations: 0.9253 MB / 0.5859 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.4716, allocations: 94.91 kB / 0.5859 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006418/0.4722, allocations: 321 kB / 0.5863 GB, free: 27.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.4725, allocations: 325.6 kB / 0.5866 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.4731, allocations: 0.7118 MB / 0.5873 GB, free: 27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.4749, allocations: 1.858 MB / 0.5891 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4749, allocations: 1.219 kB / 0.5891 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4749, allocations: 0 / 0.5891 GB, free: 26.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.4749, allocations: 0 / 0.5891 GB, free: 26.19 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.0118/0.4867, allocations: 3.23 MB / 0.5922 GB, free: 24.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4868, allocations: 9.219 kB / 0.5922 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.487, allocations: 134.7 kB / 0.5924 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.4915, allocations: 0.72 MB / 0.5931 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.4932, allocations: 0.9589 MB / 0.594 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.4936, allocations: 358 kB / 0.5943 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.4938, allocations: 97.61 kB / 0.5944 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.4965, allocations: 1.237 MB / 0.5956 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4966, allocations: 5.406 kB / 0.5957 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.4967, allocations: 29.91 kB / 0.5957 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.4967, allocations: 19.25 kB / 0.5957 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.4995, allocations: 1.188 MB / 0.5969 GB, free: 22.71 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.008538/0.508, allocations: 4.179 MB / 0.6009 GB, free: 20.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00842/0.5165, allocations: 2.699 MB / 0.6036 GB, free: 19.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.5187, allocations: 0.8416 MB / 0.6044 GB, free: 18.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.5189, allocations: 18.55 kB / 0.6044 GB, free: 18.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5189, allocations: 48.47 kB / 0.6045 GB, free: 18.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.937e-06/0.5189, allocations: 0 / 0.6045 GB, free: 18.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.046/0.5649, allocations: 9.833 MB / 0.6141 GB, free: 16.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.565, allocations: 88.64 kB / 0.6141 GB, free: 16.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.5677, allocations: 1.164 MB / 0.6153 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000394/0.5681, allocations: 50.17 kB / 0.6153 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.5686, allocations: 0.5074 MB / 0.6158 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/0.5693, allocations: 406 kB / 0.6162 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.5705, allocations: 292.5 kB / 0.6165 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.5705, allocations: 310.1 kB / 0.6168 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.5728, allocations: 0.879 MB / 0.6176 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.5752, allocations: 1.07 MB / 0.6187 GB, free: 13.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/0.5793, allocations: 1.926 MB / 0.6206 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.5794, allocations: 0 / 0.6206 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01618/0.5955, allocations: 5.145 MB / 0.6256 GB, free: 6.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.5957, allocations: 9.938 kB / 0.6256 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5957, allocations: 4 kB / 0.6256 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008952/0.6046, allocations: 2.64 MB / 0.6282 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.6061, allocations: 247.6 kB / 0.6284 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.6123, allocations: 2.695 MB / 0.6311 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.615, allocations: 206.6 kB / 0.6313 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/0.6154, allocations: 59.97 kB / 0.6313 GB, free: 344 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008081/0.6162, allocations: 265.5 kB / 0.6316 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/0.6169, allocations: 138.5 kB / 0.6317 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/0.6332, allocations: 4.594 MB / 0.6362 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.6332, allocations: 8 kB / 0.6362 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6332, allocations: 4 kB / 0.6362 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/0.6333, allocations: 7.969 kB / 0.6362 GB, free: 11.29 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.02061/0.6539, allocations: 6.432 MB / 0.6425 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/0.654, allocations: 3.984 kB / 0.6425 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.6549, allocations: 107.9 kB / 0.6426 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007931/0.6628, allocations: 2.142 MB / 0.6447 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/0.6632, allocations: 27.94 kB / 0.6447 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02588/0.6891, allocations: 9.181 MB / 0.6537 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6891, allocations: 0 / 0.6537 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.7078, allocations: 5.733 MB / 0.6593 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/0.7086, allocations: 254.9 kB / 0.6595 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005682/0.7092, allocations: 16 kB / 0.6595 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.711, allocations: 111.9 kB / 0.6596 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009072/0.7119, allocations: 237.1 kB / 0.6599 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.7121, allocations: 31.98 kB / 0.6599 GB, free: 2.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.7136, allocations: 0.7804 MB / 0.6607 GB, free: 1.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7137, allocations: 0 / 0.6607 GB, free: 1.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002112/0.7158, allocations: 495.5 kB / 0.6611 GB, free: 1.426 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.01929/0.7351, allocations: 6.323 MB / 0.6673 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009041/0.7442, allocations: 2.611 MB / 0.6699 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7442, allocations: 0 / 0.6699 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006276/0.7505, allocations: 1.794 MB / 0.6716 GB, free: 6.648 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.7525, allocations: 115 kB / 0.6717 GB, free: 6.539 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04701/0.7996, allocations: 18.37 MB / 0.6897 GB, free: 3.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.8008, allocations: 1.135 MB / 0.6908 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006535/0.8015, allocations: 108.5 kB / 0.6909 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/0.8024, allocations: 0.4915 MB / 0.6913 GB, free: 1.949 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8024, allocations: 8 kB / 0.6914 GB, free: 1.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06464/0.8671, allocations: 35.28 MB / 0.7258 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.8674, allocations: 206.9 kB / 0.726 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.841, allocations: 4 kB / 0.726 GB, free: 14.55 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)