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.001583/0.001583, allocations: 181.6 kB / 13.23 MB, free: 2.086 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.559/1.559, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0009204/0.00092, allocations: 95.86 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05262/0.05262, allocations: 8.097 MB / 345.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.041e-05, allocations: 0 / 405.6 MB, free: 61.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 52.52 MB / 458.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5603, allocations: 77.92 MB / 0.5234 GB, free: 8.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.5606, allocations: 62.78 kB / 0.5235 GB, free: 8.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00704/0.5677, allocations: 2.908 MB / 0.5263 GB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5677, allocations: 3.5 kB / 0.5263 GB, free: 5.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.5677, allocations: 0 / 0.5263 GB, free: 5.684 MB / 346.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.0004216/0.5682, allocations: 370.4 kB / 0.5267 GB, free: 5.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5682, allocations: 12.03 kB / 0.5267 GB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.5683, allocations: 41.67 kB / 0.5267 GB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.5683, allocations: 11.86 kB / 0.5267 GB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.5685, allocations: 171 kB / 0.5269 GB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5685, allocations: 4 kB / 0.5269 GB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.5685, allocations: 7.625 kB / 0.5269 GB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.5687, allocations: 79.8 kB / 0.527 GB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.5687, allocations: 0 / 0.527 GB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5687, allocations: 7.688 kB / 0.527 GB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5687, allocations: 7.953 kB / 0.527 GB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.5689, allocations: 57.67 kB / 0.5271 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.5694, allocations: 356 kB / 0.5274 GB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.5695, allocations: 40.83 kB / 0.5274 GB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.5696, allocations: 15.98 kB / 0.5275 GB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5697, allocations: 84.42 kB / 0.5275 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5698, allocations: 38.55 kB / 0.5276 GB, free: 4.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.5698, allocations: 0 / 0.5276 GB, free: 4.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001942/0.57, allocations: 62.55 kB / 0.5276 GB, free: 4.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.57, allocations: 51.41 kB / 0.5277 GB, free: 4.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.5702, allocations: 115.2 kB / 0.5278 GB, free: 4.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5702, allocations: 25.7 kB / 0.5278 GB, free: 4.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.5703, allocations: 103 kB / 0.5279 GB, free: 3.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.5703, allocations: 14.94 kB / 0.5279 GB, free: 3.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.5703, allocations: 0 / 0.5279 GB, free: 3.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5705, allocations: 322.5 kB / 0.5282 GB, free: 3.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.5705, allocations: 11.38 kB / 0.5283 GB, free: 3.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.5705, allocations: 14.67 kB / 0.5283 GB, free: 3.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.5705, allocations: 6.75 kB / 0.5283 GB, free: 3.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5706, allocations: 3.953 kB / 0.5283 GB, free: 3.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.444e-05/0.5707, allocations: 67.58 kB / 0.5283 GB, free: 3.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5707, allocations: 8 kB / 0.5283 GB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5707, allocations: 0 / 0.5283 GB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5707, allocations: 0 / 0.5283 GB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.5708, allocations: 4 kB / 0.5284 GB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5708, allocations: 6.188 kB / 0.5284 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.5709, allocations: 4 kB / 0.5284 GB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.5709, allocations: 3.562 kB / 0.5284 GB, free: 3.52 MB / 346.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 () * 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 8.542e-05/0.571, allocations: 112.6 kB / 0.5285 GB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.571, allocations: 3.953 kB / 0.5285 GB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.5712, allocations: 81.25 kB / 0.5286 GB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5712, allocations: 3.984 kB / 0.5286 GB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5712, allocations: 3.984 kB / 0.5286 GB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5712, allocations: 0 / 0.5286 GB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.5714, allocations: 183 kB / 0.5287 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5714, allocations: 0 / 0.5287 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.5715, allocations: 16.25 kB / 0.5288 GB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5715, allocations: 0 / 0.5288 GB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5715, allocations: 4 kB / 0.5288 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5715, allocations: 0 / 0.5288 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5715, allocations: 4 kB / 0.5288 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.5718, allocations: 156.2 kB / 0.5289 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.5718, allocations: 96.89 kB / 0.529 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.5719, allocations: 7.938 kB / 0.529 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.5719, allocations: 0 / 0.529 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.572, allocations: 11.12 kB / 0.529 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.572, allocations: 0 / 0.529 GB, free: 2.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.5721, allocations: 87.09 kB / 0.5291 GB, free: 2.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5721, allocations: 0 / 0.5291 GB, free: 2.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.5723, allocations: 12 kB / 0.5291 GB, free: 2.707 MB / 346.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 () * 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.0005749/0.5729, allocations: 0.7051 MB / 0.5298 GB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.573, allocations: 33.88 kB / 0.5298 GB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.573, allocations: 0 / 0.5298 GB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.5731, allocations: 23.17 kB / 0.5299 GB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.5732, allocations: 11.58 kB / 0.5299 GB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.5737, allocations: 125.9 kB / 0.53 GB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.574, allocations: 0.6965 MB / 0.5307 GB, free: 1.066 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.5741, allocations: 7.984 kB / 0.5307 GB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.5741, allocations: 18.69 kB / 0.5307 GB, free: 1.051 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5741, allocations: 4 kB / 0.5307 GB, free: 1.047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.5862, allocations: 1.676 MB / 0.5323 GB, free: 15.46 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.5864, allocations: 126.8 kB / 0.5325 GB, free: 15.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.049, allocations: 0 / 0.5325 GB, free: 15.25 MB / 362.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)