Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.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.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",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.001191/0.001191, 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.434/1.434, allocations: 222.9 MB / 238.9 MB, free: 4.758 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.001478/0.001478, allocations: 204.2 kB / 289.2 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5518/0.5518, allocations: 91.9 MB / 431.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 75.88 kB / 0.5013 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4144, allocations: 71.27 MB / 0.5709 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.006772/0.4213, allocations: 7.574 MB / 0.5783 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.426, allocations: 2.362 MB / 0.5806 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.4266, allocations: 11.97 kB / 0.5806 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.4272, allocations: 221.7 kB / 0.5808 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.429, allocations: 0.8306 MB / 0.5816 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.4302, allocations: 0.6321 MB / 0.5823 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.4318, allocations: 1.733 MB / 0.584 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.4322, allocations: 296.3 kB / 0.5842 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.4329, allocations: 0.6801 MB / 0.5849 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008098/0.4337, allocations: 0.9246 MB / 0.5858 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.4338, allocations: 93.19 kB / 0.5859 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.4344, allocations: 256.1 kB / 0.5861 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.4347, allocations: 329.5 kB / 0.5865 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.4353, allocations: 0.7158 MB / 0.5872 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.437, allocations: 1.829 MB / 0.5889 GB, free: 26.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.437, allocations: 0 / 0.5889 GB, free: 26.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.437, allocations: 0 / 0.5889 GB, free: 26.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.437, allocations: 1.156 kB / 0.5889 GB, free: 26.25 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.01195/0.449, allocations: 3.262 MB / 0.5921 GB, free: 24.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4491, allocations: 9.438 kB / 0.5921 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.4493, allocations: 133.4 kB / 0.5923 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.4539, allocations: 0.719 MB / 0.593 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.4556, allocations: 0.9564 MB / 0.5939 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.4559, allocations: 357.7 kB / 0.5942 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.4561, allocations: 95.19 kB / 0.5943 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.4588, allocations: 1.237 MB / 0.5955 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.4588, allocations: 0 / 0.5955 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.4589, allocations: 30.94 kB / 0.5956 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.4589, allocations: 18.72 kB / 0.5956 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.4616, allocations: 1.187 MB / 0.5967 GB, free: 22.78 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.007662/0.4692, allocations: 4.184 MB / 0.6008 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008165/0.4774, allocations: 2.693 MB / 0.6035 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.4794, allocations: 0.842 MB / 0.6043 GB, free: 18.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.4795, allocations: 22.67 kB / 0.6043 GB, free: 18.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4796, allocations: 48.56 kB / 0.6043 GB, free: 18.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.026e-06/0.4796, allocations: 1.375 kB / 0.6043 GB, free: 18.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04407/0.5236, allocations: 9.829 MB / 0.6139 GB, free: 16.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.5237, allocations: 88.95 kB / 0.614 GB, free: 16.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.5258, allocations: 1.167 MB / 0.6152 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003325/0.5262, allocations: 49.77 kB / 0.6152 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.5265, allocations: 0.5003 MB / 0.6157 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.527, allocations: 406.2 kB / 0.6161 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000591/0.5276, allocations: 300.2 kB / 0.6164 GB, free: 14.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.5277, allocations: 302.3 kB / 0.6167 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.5297, allocations: 0.8831 MB / 0.6175 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.5318, allocations: 1.066 MB / 0.6186 GB, free: 13.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.5352, allocations: 1.919 MB / 0.6204 GB, free: 11.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.5353, allocations: 11.94 kB / 0.6205 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01488/0.5501, allocations: 5.141 MB / 0.6255 GB, free: 6.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.5502, allocations: 8 kB / 0.6255 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5502, allocations: 4 kB / 0.6255 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008736/0.559, allocations: 2.667 MB / 0.6281 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.5604, allocations: 247.7 kB / 0.6283 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.566, allocations: 2.699 MB / 0.631 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.5684, allocations: 206.5 kB / 0.6312 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.5686, allocations: 55.92 kB / 0.6312 GB, free: 424 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.0005698/0.5691, allocations: 265.5 kB / 0.6315 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.5695, allocations: 138.3 kB / 0.6316 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.5845, allocations: 4.598 MB / 0.6361 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.5846, allocations: 16 kB / 0.6361 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5846, allocations: 0 / 0.6361 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/0.5846, allocations: 3.984 kB / 0.6361 GB, free: 11.37 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.01864/0.6033, allocations: 6.432 MB / 0.6424 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.6033, allocations: 3.984 kB / 0.6424 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.6042, allocations: 119.8 kB / 0.6425 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/0.6157, allocations: 2.138 MB / 0.6446 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004098/0.6162, allocations: 24 kB / 0.6446 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03745/0.6536, allocations: 9.173 MB / 0.6536 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6537, allocations: 0 / 0.6536 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/0.6727, allocations: 5.741 MB / 0.6592 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009756/0.6738, allocations: 239 kB / 0.6594 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.6741, allocations: 27.98 kB / 0.6594 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.6757, allocations: 107.8 kB / 0.6595 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009181/0.6766, allocations: 237 kB / 0.6598 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.6767, allocations: 35.98 kB / 0.6598 GB, free: 2.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.6779, allocations: 0.7804 MB / 0.6606 GB, free: 1.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6779, allocations: 0 / 0.6606 GB, free: 1.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001627/0.6795, allocations: 483.5 kB / 0.661 GB, free: 1.516 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.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.01856/0.6981, allocations: 6.327 MB / 0.6672 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008402/0.7066, allocations: 2.615 MB / 0.6698 GB, free: 8.535 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.7066, allocations: 0 / 0.6698 GB, free: 8.535 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005979/0.7126, allocations: 1.794 MB / 0.6715 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.7142, allocations: 116.7 kB / 0.6716 GB, free: 6.617 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04346/0.7577, allocations: 18.38 MB / 0.6896 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.7585, allocations: 1.135 MB / 0.6907 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006055/0.7591, allocations: 108.5 kB / 0.6908 GB, free: 2.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.7598, allocations: 0.4915 MB / 0.6913 GB, free: 2.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.143e-06/0.7598, allocations: 0 / 0.6913 GB, free: 2.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/0.8398, allocations: 35.24 MB / 0.7257 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.8401, allocations: 208.5 kB / 0.7259 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/4.035, allocations: 0 / 0.7259 GB, free: 14.67 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)