Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.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(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",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.001392/0.001392, allocations: 181 kB / 15.8 MB, free: 6.336 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.482/1.482, allocations: 223.2 MB / 239.7 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008946, allocations: 98.72 kB / 290.9 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05207/0.05207, allocations: 8.108 MB / 350.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 11.98 kB / 413.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 52.51 MB / 465.7 MB, free: 69.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4534, allocations: 77.73 MB / 0.5307 GB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4538, allocations: 59.98 kB / 0.5307 GB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007751/0.4615, allocations: 2.928 MB / 0.5336 GB, free: 4.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.4616, allocations: 0 / 0.5336 GB, free: 4.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4616, allocations: 3.938 kB / 0.5336 GB, free: 4.777 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004829/0.4621, allocations: 379.1 kB / 0.534 GB, free: 4.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4621, allocations: 8.031 kB / 0.534 GB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.4622, allocations: 42.55 kB / 0.534 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.4622, allocations: 7.859 kB / 0.534 GB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.4624, allocations: 167.1 kB / 0.5342 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4625, allocations: 4 kB / 0.5342 GB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.4625, allocations: 12 kB / 0.5342 GB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.4627, allocations: 86.67 kB / 0.5343 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4627, allocations: 0 / 0.5343 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4627, allocations: 0 / 0.5343 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4627, allocations: 3.953 kB / 0.5343 GB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4629, allocations: 63.95 kB / 0.5343 GB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.4635, allocations: 364.5 kB / 0.5347 GB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.4636, allocations: 38.56 kB / 0.5347 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.4638, allocations: 81.11 kB / 0.5348 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4638, allocations: 34.56 kB / 0.5348 GB, free: 3.324 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4638, allocations: 0 / 0.5348 GB, free: 3.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002337/0.4641, allocations: 73.75 kB / 0.5349 GB, free: 3.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4641, allocations: 55.41 kB / 0.535 GB, free: 3.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4643, allocations: 113 kB / 0.5351 GB, free: 3.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4643, allocations: 25.7 kB / 0.5351 GB, free: 3.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.4644, allocations: 104.2 kB / 0.5352 GB, free: 2.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.4644, allocations: 15.72 kB / 0.5352 GB, free: 2.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.4644, allocations: 0 / 0.5352 GB, free: 2.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4646, allocations: 322.8 kB / 0.5355 GB, free: 2.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.4646, allocations: 8 kB / 0.5355 GB, free: 2.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.4646, allocations: 12 kB / 0.5355 GB, free: 2.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.4647, allocations: 8 kB / 0.5355 GB, free: 2.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4647, allocations: 7.938 kB / 0.5356 GB, free: 2.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.4648, allocations: 69.58 kB / 0.5356 GB, free: 2.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4648, allocations: 5.719 kB / 0.5356 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4648, allocations: 0 / 0.5356 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4649, allocations: 0 / 0.5356 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.465, allocations: 11.98 kB / 0.5356 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.465, allocations: 0 / 0.5356 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.465, allocations: 4 kB / 0.5356 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.465, allocations: 0 / 0.5356 GB, free: 2.453 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4651, allocations: 121.8 kB / 0.5358 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.4652, allocations: 7.859 kB / 0.5358 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.4654, allocations: 81.58 kB / 0.5358 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4654, allocations: 0 / 0.5358 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4654, allocations: 0 / 0.5358 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4654, allocations: 0 / 0.5358 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.4656, allocations: 185.6 kB / 0.536 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4656, allocations: 0 / 0.536 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.4657, allocations: 8 kB / 0.536 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4657, allocations: 8.453 kB / 0.536 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.4657, allocations: 0 / 0.536 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4657, allocations: 0 / 0.536 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4657, allocations: 11.98 kB / 0.536 GB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.4659, allocations: 163.4 kB / 0.5362 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.466, allocations: 81.11 kB / 0.5363 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.466, allocations: 3.953 kB / 0.5363 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.4661, allocations: 0 / 0.5363 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.4661, allocations: 8 kB / 0.5363 GB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4661, allocations: 0 / 0.5363 GB, free: 1.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.711e-05/0.4662, allocations: 91.27 kB / 0.5364 GB, free: 1.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4662, allocations: 0 / 0.5364 GB, free: 1.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.4664, allocations: 19.91 kB / 0.5364 GB, free: 1.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005262/0.467, allocations: 0.7009 MB / 0.5371 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.4671, allocations: 35.92 kB / 0.5371 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4671, allocations: 0 / 0.5371 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.4672, allocations: 16 kB / 0.5371 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.4673, allocations: 15.83 kB / 0.5371 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.4682, allocations: 488.6 kB / 0.5376 GB, free: 272 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.4686, allocations: 0.6965 MB / 0.5383 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.132e-05/0.4686, allocations: 7.984 kB / 0.5383 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.4687, allocations: 23.42 kB / 0.5383 GB, free: 15.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4687, allocations: 0 / 0.5383 GB, free: 15.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.4838, allocations: 1.584 MB / 0.5399 GB, free: 14.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.4841, allocations: 151.6 kB / 0.54 GB, free: 13.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.382, allocations: 0 / 0.54 GB, free: 13.77 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)