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: translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 180.7 kB / 15.8 MB, free: 6.34 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.377/1.377, allocations: 223.2 MB / 239.7 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009998, allocations: 96.59 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04837/0.04837, allocations: 8.101 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 6.781 kB / 413.1 MB, free: 89.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08357, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/0.3854, allocations: 77.96 MB / 0.5308 GB, free: 16.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.3856, allocations: 59.48 kB / 0.5309 GB, free: 16.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005978/0.3916, allocations: 2.567 MB / 0.5334 GB, free: 32.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3917, allocations: 0 / 0.5334 GB, free: 32.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3917, allocations: 3.938 kB / 0.5334 GB, free: 32.3 MB / 378.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.0003755/0.3921, allocations: 357.9 kB / 0.5337 GB, free: 31.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3921, allocations: 7.812 kB / 0.5337 GB, free: 31.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3922, allocations: 11.73 kB / 0.5337 GB, free: 31.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.3922, allocations: 173.3 kB / 0.5339 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3923, allocations: 0.9844 kB / 0.5339 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3923, allocations: 7.594 kB / 0.5339 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3924, allocations: 77.73 kB / 0.534 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3925, allocations: 0 / 0.534 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3925, allocations: 6.141 kB / 0.534 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3925, allocations: 3.906 kB / 0.534 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.3926, allocations: 41.97 kB / 0.534 GB, free: 31.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.393, allocations: 353.2 kB / 0.5344 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.3931, allocations: 24.3 kB / 0.5344 GB, free: 31.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3932, allocations: 84.92 kB / 0.5345 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3932, allocations: 37.12 kB / 0.5345 GB, free: 31.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.3932, allocations: 0 / 0.5345 GB, free: 31.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.3934, allocations: 48.98 kB / 0.5346 GB, free: 31.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.3934, allocations: 58.02 kB / 0.5346 GB, free: 31.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.3935, allocations: 110.9 kB / 0.5347 GB, free: 31.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.3935, allocations: 25.7 kB / 0.5348 GB, free: 31.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.3936, allocations: 109 kB / 0.5349 GB, free: 30.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.3936, allocations: 7.844 kB / 0.5349 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.3936, allocations: 3.938 kB / 0.5349 GB, free: 30.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.3936, allocations: 318.6 kB / 0.5352 GB, free: 30.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.3937, allocations: 9.953 kB / 0.5352 GB, free: 30.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.3937, allocations: 18.36 kB / 0.5352 GB, free: 30.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.3937, allocations: 15.12 kB / 0.5352 GB, free: 30.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3937, allocations: 0 / 0.5352 GB, free: 30.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.491e-05/0.3938, allocations: 69.86 kB / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3938, allocations: 7.719 kB / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3939, allocations: 3.938 kB / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3939, allocations: 0 / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.394, allocations: 10.56 kB / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.394, allocations: 0 / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.394, allocations: 0 / 0.5353 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.394, allocations: 0 / 0.5353 GB, free: 30.55 MB / 378.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 5.228e-05/0.3941, allocations: 121.6 kB / 0.5354 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.3941, allocations: 3.5 kB / 0.5354 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.3942, allocations: 59.45 kB / 0.5355 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3942, allocations: 0 / 0.5355 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.3942, allocations: 0 / 0.5355 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3942, allocations: 0 / 0.5355 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3944, allocations: 176.8 kB / 0.5356 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3944, allocations: 0 / 0.5356 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.3944, allocations: 8.062 kB / 0.5357 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3944, allocations: 4 kB / 0.5357 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.3944, allocations: 0 / 0.5357 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3944, allocations: 3.844 kB / 0.5357 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3944, allocations: 0 / 0.5357 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/0.3946, allocations: 130 kB / 0.5358 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.3946, allocations: 95.39 kB / 0.5359 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3946, allocations: 4.031 kB / 0.5359 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.3947, allocations: 3.984 kB / 0.5359 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.3947, allocations: 0 / 0.5359 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.3947, allocations: 0 / 0.5359 GB, free: 29.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.521e-05/0.3948, allocations: 104.5 kB / 0.536 GB, free: 29.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3948, allocations: 0 / 0.536 GB, free: 29.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.395, allocations: 23.34 kB / 0.536 GB, free: 29.86 MB / 378.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 (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.0001344/0.3951, allocations: 106.7 kB / 0.5361 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.3952, allocations: 25.59 kB / 0.5361 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3952, allocations: 0 / 0.5361 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.3952, allocations: 7.656 kB / 0.5361 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.3954, allocations: 0.9844 kB / 0.5361 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.3956, allocations: 189.7 kB / 0.5363 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3959, allocations: 0.6864 MB / 0.537 GB, free: 28.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.055e-05/0.3959, allocations: 3.281 kB / 0.537 GB, free: 28.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.396, allocations: 11.31 kB / 0.537 GB, free: 28.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.396, allocations: 0 / 0.537 GB, free: 28.91 MB / 378.7 MB Notification: Performance of Templates: time 0.002222/0.3982, allocations: 0.5192 MB / 0.5375 GB, free: 28.84 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (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 & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)