Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.1 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.376/1.376, allocations: 223.2 MB / 239.7 MB, free: 1.766 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.0008559/0.0008559, allocations: 102.5 kB / 290.9 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05306/0.05306, allocations: 8.102 MB / 350.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12.16 kB / 413.1 MB, free: 89.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 52.53 MB / 465.6 MB, free: 42.05 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.494, allocations: 78.39 MB / 0.5312 GB, free: 16.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4943, allocations: 63.34 kB / 0.5313 GB, free: 16.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008774/0.503, allocations: 3.409 MB / 0.5346 GB, free: 32.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5031, allocations: 0 / 0.5346 GB, free: 32.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.5031, allocations: 0 / 0.5346 GB, free: 32.29 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005963/0.5037, allocations: 422.2 kB / 0.535 GB, free: 31.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5037, allocations: 11.75 kB / 0.535 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.5038, allocations: 11.73 kB / 0.5351 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5039, allocations: 181.3 kB / 0.5352 GB, free: 31.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.504, allocations: 7.312 kB / 0.5352 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.504, allocations: 3.906 kB / 0.5352 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5042, allocations: 88.36 kB / 0.5353 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.5042, allocations: 3.875 kB / 0.5353 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5042, allocations: 3.75 kB / 0.5353 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5042, allocations: 0 / 0.5353 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5043, allocations: 73.56 kB / 0.5354 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.5049, allocations: 391.3 kB / 0.5358 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.5052, allocations: 118.7 kB / 0.5359 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.5054, allocations: 83.72 kB / 0.536 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.5054, allocations: 38.19 kB / 0.536 GB, free: 31.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5054, allocations: 0 / 0.536 GB, free: 31.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005341/0.506, allocations: 232.2 kB / 0.5362 GB, free: 31.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.506, allocations: 51.41 kB / 0.5363 GB, free: 31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5061, allocations: 132.6 kB / 0.5364 GB, free: 30.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.5061, allocations: 29.7 kB / 0.5364 GB, free: 30.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.5062, allocations: 102.6 kB / 0.5365 GB, free: 30.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.5062, allocations: 30 kB / 0.5366 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.5062, allocations: 3.688 kB / 0.5366 GB, free: 30.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.5063, allocations: 313.8 kB / 0.5369 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.5063, allocations: 32.98 kB / 0.5369 GB, free: 30.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.5064, allocations: 37.72 kB / 0.5369 GB, free: 30.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.5064, allocations: 34.97 kB / 0.537 GB, free: 30.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5065, allocations: 0 / 0.537 GB, free: 30.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002352/0.5067, allocations: 155.2 kB / 0.5371 GB, free: 30.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5067, allocations: 6.625 kB / 0.5371 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5067, allocations: 0 / 0.5371 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.507, allocations: 29.77 kB / 0.5371 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.507, allocations: 17.94 kB / 0.5372 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009501/0.508, allocations: 1.339 MB / 0.5385 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.5081, allocations: 6.469 kB / 0.5385 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.5081, allocations: 7.875 kB / 0.5385 GB, free: 29.1 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 (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.609e-05/0.5082, allocations: 126.2 kB / 0.5386 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.5082, allocations: 11.72 kB / 0.5386 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.5085, allocations: 122.7 kB / 0.5387 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5085, allocations: 0 / 0.5387 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.5085, allocations: 3.875 kB / 0.5387 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5085, allocations: 0 / 0.5387 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.5087, allocations: 205.9 kB / 0.5389 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5087, allocations: 6.203 kB / 0.5389 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.5088, allocations: 7.781 kB / 0.5389 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.5089, allocations: 38.36 kB / 0.539 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5089, allocations: 6.344 kB / 0.539 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.5101, allocations: 1.335 MB / 0.5403 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5101, allocations: 3.938 kB / 0.5403 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.5104, allocations: 216.4 kB / 0.5405 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.5105, allocations: 88.77 kB / 0.5406 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.5105, allocations: 2.438 kB / 0.5406 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5106, allocations: 3.969 kB / 0.5406 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.5107, allocations: 6.531 kB / 0.5406 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5107, allocations: 11.77 kB / 0.5406 GB, free: 27.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.5108, allocations: 113.4 kB / 0.5407 GB, free: 27.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5108, allocations: 4 kB / 0.5407 GB, free: 27.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.5111, allocations: 31.19 kB / 0.5408 GB, free: 27.1 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 (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.0002451/0.5114, allocations: 114.2 kB / 0.5409 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.5119, allocations: 196.3 kB / 0.541 GB, free: 26.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5119, allocations: 0 / 0.541 GB, free: 26.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.5121, allocations: 156.8 kB / 0.5412 GB, free: 26.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.5124, allocations: 9.625 kB / 0.5412 GB, free: 26.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.5129, allocations: 246.8 kB / 0.5414 GB, free: 26.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.5134, allocations: 0.6936 MB / 0.5421 GB, free: 25.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.5135, allocations: 11.72 kB / 0.5421 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.5136, allocations: 15.16 kB / 0.5421 GB, free: 25.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5136, allocations: 8.125 kB / 0.5422 GB, free: 25.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004687/0.5183, allocations: 1.37 MB / 0.5435 GB, free: 25.79 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)