Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.001573/0.001573, allocations: 182.3 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.743/1.743, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.001008/0.001008, allocations: 105.2 kB / 286.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05967/0.05967, allocations: 8.098 MB / 345.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.169e-05, allocations: 4 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 52.51 MB / 458.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5616, allocations: 78.15 MB / 0.5237 GB, free: 7.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.5619, allocations: 54.05 kB / 0.5237 GB, free: 7.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006156/0.5681, allocations: 2.549 MB / 0.5262 GB, free: 5.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5681, allocations: 0 / 0.5262 GB, free: 5.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5681, allocations: 4 kB / 0.5262 GB, free: 5.73 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.000479/0.5686, allocations: 366.3 kB / 0.5265 GB, free: 5.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.5687, allocations: 11.53 kB / 0.5266 GB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.5687, allocations: 38.12 kB / 0.5266 GB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.5687, allocations: 7.953 kB / 0.5266 GB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5689, allocations: 167 kB / 0.5268 GB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.5689, allocations: 11.62 kB / 0.5268 GB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.5689, allocations: 4 kB / 0.5268 GB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.5691, allocations: 72.08 kB / 0.5268 GB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5691, allocations: 0 / 0.5268 GB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5692, allocations: 11.62 kB / 0.5269 GB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5692, allocations: 7.938 kB / 0.5269 GB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.5693, allocations: 42.05 kB / 0.5269 GB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.5698, allocations: 347.3 kB / 0.5272 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.5699, allocations: 18.58 kB / 0.5273 GB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.5699, allocations: 12.17 kB / 0.5273 GB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.57, allocations: 93.08 kB / 0.5274 GB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5701, allocations: 30.56 kB / 0.5274 GB, free: 4.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5701, allocations: 3.938 kB / 0.5274 GB, free: 4.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001606/0.5702, allocations: 41.23 kB / 0.5274 GB, free: 4.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5703, allocations: 55.41 kB / 0.5275 GB, free: 4.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5704, allocations: 112.8 kB / 0.5276 GB, free: 4.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5704, allocations: 25.7 kB / 0.5276 GB, free: 4.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.5705, allocations: 111.7 kB / 0.5277 GB, free: 4.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.5705, allocations: 11.03 kB / 0.5277 GB, free: 4.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.5706, allocations: 0 / 0.5277 GB, free: 4.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5707, allocations: 318.8 kB / 0.528 GB, free: 3.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.5707, allocations: 14.67 kB / 0.528 GB, free: 3.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.5708, allocations: 11.38 kB / 0.5281 GB, free: 3.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.5708, allocations: 15.19 kB / 0.5281 GB, free: 3.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5708, allocations: 0 / 0.5281 GB, free: 3.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.5709, allocations: 63.56 kB / 0.5281 GB, free: 3.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.571, allocations: 8.938 kB / 0.5281 GB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.571, allocations: 4.531 kB / 0.5281 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.571, allocations: 4 kB / 0.5281 GB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.5711, allocations: 4 kB / 0.5282 GB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5711, allocations: 0 / 0.5282 GB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.5712, allocations: 7.906 kB / 0.5282 GB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5712, allocations: 1.969 kB / 0.5282 GB, free: 3.621 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.592e-05/0.5713, allocations: 109.5 kB / 0.5283 GB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.5713, allocations: 4 kB / 0.5283 GB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.5714, allocations: 56.8 kB / 0.5283 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.5714, allocations: 0 / 0.5283 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5714, allocations: 0 / 0.5283 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5715, allocations: 3.984 kB / 0.5283 GB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.5717, allocations: 175.5 kB / 0.5285 GB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.5717, allocations: 4 kB / 0.5285 GB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.5717, allocations: 4 kB / 0.5285 GB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5717, allocations: 0 / 0.5285 GB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5717, allocations: 0 / 0.5285 GB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5718, allocations: 4 kB / 0.5285 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5718, allocations: 4.031 kB / 0.5285 GB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5719, allocations: 146.4 kB / 0.5286 GB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.572, allocations: 81.11 kB / 0.5287 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.572, allocations: 3.812 kB / 0.5287 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.572, allocations: 0 / 0.5287 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.5721, allocations: 7.922 kB / 0.5287 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.5721, allocations: 0 / 0.5287 GB, free: 2.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.669e-05/0.5721, allocations: 97.5 kB / 0.5288 GB, free: 2.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5721, allocations: 0 / 0.5288 GB, free: 2.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.5724, allocations: 15.94 kB / 0.5288 GB, free: 2.855 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 (2): * Single equations (assignments): 2 * 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.0005011/0.5729, allocations: 0.6834 MB / 0.5295 GB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.573, allocations: 26.67 kB / 0.5295 GB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.573, allocations: 0 / 0.5295 GB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.573, allocations: 8 kB / 0.5295 GB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.5732, allocations: 4.344 kB / 0.5296 GB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.5736, allocations: 105.9 kB / 0.5297 GB, free: 1.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5739, allocations: 0.6927 MB / 0.5303 GB, free: 1.266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.5739, allocations: 3.984 kB / 0.5303 GB, free: 1.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.5739, allocations: 18.69 kB / 0.5303 GB, free: 1.25 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5739, allocations: 0 / 0.5303 GB, free: 1.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.5862, allocations: 1.425 MB / 0.5317 GB, free: 15.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.5864, allocations: 129.7 kB / 0.5319 GB, free: 15.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.264, allocations: 0 / 0.5319 GB, free: 15.71 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)