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.0008702/0.0008702, allocations: 171.9 kB / 16.8 MB, free: 5.031 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.267/1.267, allocations: 223.3 MB / 240.8 MB, free: 11.72 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.0007427/0.0007425, allocations: 103.6 kB / 292 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04491/0.0449, allocations: 8.099 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 12 kB / 414.4 MB, free: 57.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08834, allocations: 52.52 MB / 466.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4164, allocations: 77.98 MB / 0.5321 GB, free: 7.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4167, allocations: 64.78 kB / 0.5322 GB, free: 7.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006154/0.4228, allocations: 2.559 MB / 0.5347 GB, free: 5.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4229, allocations: 0 / 0.5347 GB, free: 5.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4229, allocations: 4 kB / 0.5347 GB, free: 5.371 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.0004432/0.4233, allocations: 359.8 kB / 0.535 GB, free: 4.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4234, allocations: 12.03 kB / 0.535 GB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.4234, allocations: 8.844 kB / 0.535 GB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4236, allocations: 172.3 kB / 0.5352 GB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4236, allocations: 7.875 kB / 0.5352 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.4236, allocations: 4.375 kB / 0.5352 GB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4238, allocations: 73.12 kB / 0.5353 GB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4238, allocations: 192 / 0.5353 GB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4238, allocations: 12.09 kB / 0.5353 GB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4238, allocations: 4 kB / 0.5353 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.4239, allocations: 49.59 kB / 0.5353 GB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.4244, allocations: 341.4 kB / 0.5357 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.437e-05/0.4245, allocations: 22.52 kB / 0.5357 GB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.4245, allocations: 17.7 kB / 0.5357 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.4246, allocations: 81.11 kB / 0.5358 GB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4247, allocations: 34.55 kB / 0.5358 GB, free: 4.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4247, allocations: 0 / 0.5358 GB, free: 4.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.4248, allocations: 49.22 kB / 0.5358 GB, free: 4.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.4249, allocations: 55.34 kB / 0.5359 GB, free: 3.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.425, allocations: 119.3 kB / 0.536 GB, free: 3.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.425, allocations: 29.2 kB / 0.536 GB, free: 3.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.4251, allocations: 111.9 kB / 0.5361 GB, free: 3.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.4251, allocations: 11.84 kB / 0.5362 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4251, allocations: 0 / 0.5362 GB, free: 3.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4252, allocations: 314.8 kB / 0.5365 GB, free: 3.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.4253, allocations: 15.12 kB / 0.5365 GB, free: 3.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.4253, allocations: 11.73 kB / 0.5365 GB, free: 3.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.4253, allocations: 26.55 kB / 0.5365 GB, free: 3.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4253, allocations: 0 / 0.5365 GB, free: 3.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001016/0.4254, allocations: 63.53 kB / 0.5366 GB, free: 3.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4255, allocations: 8 kB / 0.5366 GB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4255, allocations: 11.88 kB / 0.5366 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4255, allocations: 3.938 kB / 0.5366 GB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.4256, allocations: 15.8 kB / 0.5366 GB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4256, allocations: 4 kB / 0.5366 GB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.4256, allocations: 0 / 0.5366 GB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.4257, allocations: 0 / 0.5366 GB, free: 3.266 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 () * 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 7.235e-05/0.4257, allocations: 113.4 kB / 0.5367 GB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.4258, allocations: 0 / 0.5367 GB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.4259, allocations: 56.48 kB / 0.5368 GB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4259, allocations: 3.938 kB / 0.5368 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4259, allocations: 3.938 kB / 0.5368 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4259, allocations: 0 / 0.5368 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.4261, allocations: 175.6 kB / 0.537 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4261, allocations: 0 / 0.537 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.4261, allocations: 4.188 kB / 0.537 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4261, allocations: 0 / 0.537 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4261, allocations: 7.984 kB / 0.537 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4261, allocations: 7.969 kB / 0.537 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4261, allocations: 0 / 0.537 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.4262, allocations: 134.4 kB / 0.5371 GB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.4263, allocations: 81.09 kB / 0.5372 GB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.4263, allocations: 0 / 0.5372 GB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.4264, allocations: 3.938 kB / 0.5372 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.4264, allocations: 0 / 0.5372 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4264, allocations: 4 kB / 0.5372 GB, free: 2.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.4265, allocations: 98.36 kB / 0.5373 GB, free: 2.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.794e-06/0.4265, allocations: 0 / 0.5373 GB, free: 2.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.4267, allocations: 30.72 kB / 0.5373 GB, free: 2.492 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 () * 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.0001394/0.4269, allocations: 99.23 kB / 0.5374 GB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.4269, allocations: 22.67 kB / 0.5374 GB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.427, allocations: 4 kB / 0.5374 GB, free: 2.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.427, allocations: 4 kB / 0.5374 GB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4272, allocations: 11.02 kB / 0.5374 GB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.4275, allocations: 178.3 kB / 0.5376 GB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4278, allocations: 0.6927 MB / 0.5383 GB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.059e-05/0.4278, allocations: 3.984 kB / 0.5383 GB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.4278, allocations: 11.44 kB / 0.5383 GB, free: 1.426 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4278, allocations: 0 / 0.5383 GB, free: 1.426 MB / 346.7 MB Notification: Performance of Templates: time 0.002458/0.4303, allocations: 0.5221 MB / 0.5388 GB, free: 0.918 MB / 346.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)