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.001552/0.001552, 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.597/1.597, allocations: 222.9 MB / 239.3 MB, free: 4.582 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.001952/0.001952, allocations: 184.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.578/0.578, allocations: 91.9 MB / 431.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 75.88 kB / 0.502 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5308, allocations: 71.25 MB / 0.5716 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.009257/0.5401, allocations: 7.262 MB / 0.5787 GB, free: 32.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005752/0.5459, allocations: 2.315 MB / 0.5809 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.547, allocations: 10.34 kB / 0.5809 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.548, allocations: 279.3 kB / 0.5812 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.5507, allocations: 1.057 MB / 0.5822 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.552, allocations: 0.5795 MB / 0.5828 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.554, allocations: 1.814 MB / 0.5846 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/0.5545, allocations: 331.6 kB / 0.5849 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.5554, allocations: 0.7398 MB / 0.5856 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.5565, allocations: 0.9736 MB / 0.5866 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.5568, allocations: 149.2 kB / 0.5867 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.5576, allocations: 381.3 kB / 0.5871 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.5579, allocations: 379.2 kB / 0.5874 GB, free: 27.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007902/0.5587, allocations: 0.7657 MB / 0.5882 GB, free: 26.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.561, allocations: 1.913 MB / 0.59 GB, free: 26.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.561, allocations: 0 / 0.59 GB, free: 26.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.561, allocations: 0 / 0.59 GB, free: 26.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.5611, allocations: 1.031 kB / 0.59 GB, free: 26.02 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.01215/0.5732, allocations: 3.23 MB / 0.5932 GB, free: 24.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.5733, allocations: 9.906 kB / 0.5932 GB, free: 24.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.5735, allocations: 133.5 kB / 0.5933 GB, free: 24.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.5781, allocations: 0.7218 MB / 0.594 GB, free: 24.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.5796, allocations: 0.9534 MB / 0.595 GB, free: 23.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.58, allocations: 359 kB / 0.5953 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.5802, allocations: 95.56 kB / 0.5954 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.5831, allocations: 1.234 MB / 0.5966 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.5831, allocations: 0 / 0.5966 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.5833, allocations: 30.78 kB / 0.5966 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.5833, allocations: 24.12 kB / 0.5967 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/0.5866, allocations: 1.186 MB / 0.5978 GB, free: 22.56 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.008841/0.5955, allocations: 4.182 MB / 0.6019 GB, free: 20.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008894/0.6044, allocations: 2.697 MB / 0.6045 GB, free: 19.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.6063, allocations: 0.8418 MB / 0.6054 GB, free: 18.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.6064, allocations: 27.22 kB / 0.6054 GB, free: 18.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6065, allocations: 44.44 kB / 0.6054 GB, free: 18.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 5.881e-06/0.6065, allocations: 0 / 0.6054 GB, free: 18.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.044/0.6505, allocations: 9.836 MB / 0.615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.6506, allocations: 88.58 kB / 0.6151 GB, free: 15.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.6531, allocations: 1.167 MB / 0.6162 GB, free: 15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.6534, allocations: 50.88 kB / 0.6163 GB, free: 14.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.6537, allocations: 0.5078 MB / 0.6168 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.6541, allocations: 401 kB / 0.6172 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005571/0.6547, allocations: 293.7 kB / 0.6175 GB, free: 13.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.6548, allocations: 305.1 kB / 0.6177 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.6568, allocations: 0.8844 MB / 0.6186 GB, free: 13.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.6589, allocations: 1.072 MB / 0.6197 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.6625, allocations: 1.918 MB / 0.6215 GB, free: 10.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.6626, allocations: 0 / 0.6215 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01518/0.6777, allocations: 5.145 MB / 0.6266 GB, free: 5.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6778, allocations: 4 kB / 0.6266 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6778, allocations: 7.938 kB / 0.6266 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008447/0.6863, allocations: 2.644 MB / 0.6291 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6874, allocations: 247.6 kB / 0.6294 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.6931, allocations: 2.695 MB / 0.632 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.6953, allocations: 206.6 kB / 0.6322 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.6955, allocations: 55.98 kB / 0.6323 GB, free: 15.79 MB / 446.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.0005516/0.6961, allocations: 262.6 kB / 0.6325 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.6963, allocations: 134.3 kB / 0.6326 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/0.7122, allocations: 4.606 MB / 0.6371 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.7123, allocations: 15.98 kB / 0.6372 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7123, allocations: 4 kB / 0.6372 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.7123, allocations: 7.969 kB / 0.6372 GB, free: 10.73 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.01835/0.7307, allocations: 6.432 MB / 0.6435 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.7307, allocations: 0 / 0.6435 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.7313, allocations: 111.8 kB / 0.6436 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007542/0.7389, allocations: 2.146 MB / 0.6457 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.739, allocations: 27.98 kB / 0.6457 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/0.7649, allocations: 10.06 MB / 0.6555 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7649, allocations: 0 / 0.6555 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.7831, allocations: 5.737 MB / 0.6611 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.784, allocations: 243.1 kB / 0.6613 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.7842, allocations: 20.19 kB / 0.6614 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7857, allocations: 107.9 kB / 0.6615 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008021/0.7865, allocations: 241 kB / 0.6617 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.7866, allocations: 31.98 kB / 0.6617 GB, free: 1.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.7878, allocations: 0.7804 MB / 0.6625 GB, free: 476 kB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7878, allocations: 0 / 0.6625 GB, free: 476 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001705/0.7895, allocations: 491.6 kB / 0.663 GB, free: 15.98 MB / 478.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.01842/0.8079, allocations: 6.335 MB / 0.6691 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008984/0.8169, allocations: 2.684 MB / 0.6718 GB, free: 6.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8169, allocations: 0 / 0.6718 GB, free: 6.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006032/0.823, allocations: 1.839 MB / 0.6736 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.8243, allocations: 110.8 kB / 0.6737 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04142/0.8658, allocations: 17.94 MB / 0.6912 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.8666, allocations: 1.139 MB / 0.6923 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.8672, allocations: 112.5 kB / 0.6924 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/0.8679, allocations: 0.4954 MB / 0.6929 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8679, allocations: 0 / 0.6929 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.657/3.525, allocations: 38.25 MB / 0.7302 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/18.25, allocations: 448 / 0.7302 GB, free: 10.66 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)