Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.001453/0.001453, allocations: 180.9 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.51/1.51, allocations: 221.4 MB / 235.1 MB, free: 14.37 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.001028/0.001028, allocations: 98.38 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05109/0.05109, allocations: 8.101 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.2e-05, allocations: 4 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 52.52 MB / 458.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4639, allocations: 79.21 MB / 0.5247 GB, free: 6.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001462/0.464, allocations: 63.05 kB / 0.5248 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.4752, allocations: 4.534 MB / 0.5292 GB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4752, allocations: 0 / 0.5292 GB, free: 3.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.4752, allocations: 4 kB / 0.5292 GB, free: 3.031 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006622/0.4759, allocations: 425.9 kB / 0.5296 GB, free: 2.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4759, allocations: 12.03 kB / 0.5296 GB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.476, allocations: 49.36 kB / 0.5297 GB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.476, allocations: 15.77 kB / 0.5297 GB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4762, allocations: 178.9 kB / 0.5298 GB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4762, allocations: 19.62 kB / 0.5299 GB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.4763, allocations: 11.61 kB / 0.5299 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.4765, allocations: 138.6 kB / 0.53 GB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4765, allocations: 0 / 0.53 GB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4765, allocations: 7.5 kB / 0.53 GB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4766, allocations: 3.953 kB / 0.53 GB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.4767, allocations: 96.59 kB / 0.5301 GB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.4775, allocations: 498.6 kB / 0.5306 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.4778, allocations: 101.6 kB / 0.5307 GB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.4778, allocations: 28.42 kB / 0.5307 GB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.478, allocations: 85.66 kB / 0.5308 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.478, allocations: 38.48 kB / 0.5308 GB, free: 1.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.478, allocations: 0 / 0.5308 GB, free: 1.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003095/0.4783, allocations: 107.5 kB / 0.5309 GB, free: 1.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.4784, allocations: 51.41 kB / 0.531 GB, free: 1.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4785, allocations: 126.1 kB / 0.5311 GB, free: 1.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4785, allocations: 30.95 kB / 0.5311 GB, free: 1.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4786, allocations: 122.8 kB / 0.5312 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.4786, allocations: 26.89 kB / 0.5313 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4786, allocations: 1.25 kB / 0.5313 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4788, allocations: 318 kB / 0.5316 GB, free: 0.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.4788, allocations: 31.3 kB / 0.5316 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.4789, allocations: 26.12 kB / 0.5316 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.4789, allocations: 31.86 kB / 0.5317 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4789, allocations: 0 / 0.5317 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002639/0.4792, allocations: 136.3 kB / 0.5318 GB, free: 468 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4792, allocations: 12 kB / 0.5318 GB, free: 456 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4793, allocations: 96 / 0.5318 GB, free: 456 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.4795, allocations: 38.14 kB / 0.5318 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.4796, allocations: 8.938 kB / 0.5318 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.4808, allocations: 1.314 MB / 0.5331 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.4808, allocations: 0 / 0.5331 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4809, allocations: 8.531 kB / 0.5331 GB, free: 15.01 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/0.481, allocations: 109.8 kB / 0.5332 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.481, allocations: 11.86 kB / 0.5333 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.4813, allocations: 125.9 kB / 0.5334 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4813, allocations: 0 / 0.5334 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.4813, allocations: 0 / 0.5334 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4813, allocations: 3.984 kB / 0.5334 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.4816, allocations: 221.2 kB / 0.5336 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4816, allocations: 4 kB / 0.5336 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.4816, allocations: 8 kB / 0.5336 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.4818, allocations: 39.45 kB / 0.5336 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.4818, allocations: 3.938 kB / 0.5336 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009773/0.4828, allocations: 1.306 MB / 0.5349 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/0.4828, allocations: 3.984 kB / 0.5349 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.4831, allocations: 208.7 kB / 0.5351 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.136e-05/0.4831, allocations: 88.41 kB / 0.5352 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.4832, allocations: 0 / 0.5352 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4833, allocations: 11.98 kB / 0.5352 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.4833, allocations: 7.359 kB / 0.5352 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4833, allocations: 4 kB / 0.5352 GB, free: 12.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.4834, allocations: 107.5 kB / 0.5353 GB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4834, allocations: 0 / 0.5353 GB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.4837, allocations: 43.16 kB / 0.5354 GB, free: 12.64 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006218/0.4843, allocations: 0.7442 MB / 0.5361 GB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.4847, allocations: 183.6 kB / 0.5363 GB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4847, allocations: 0 / 0.5363 GB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4849, allocations: 141.1 kB / 0.5364 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.4852, allocations: 11.48 kB / 0.5364 GB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.4856, allocations: 194.4 kB / 0.5366 GB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4859, allocations: 0.7082 MB / 0.5373 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.486, allocations: 12.59 kB / 0.5373 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.4861, allocations: 34.23 kB / 0.5373 GB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4861, allocations: 3.938 kB / 0.5373 GB, free: 10.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.5012, allocations: 2.633 MB / 0.5399 GB, free: 8.102 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.5015, allocations: 165.5 kB / 0.5401 GB, free: 7.879 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.077, allocations: 0 / 0.5401 GB, free: 7.879 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)