Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008709/0.0008708, allocations: 172.2 kB / 16.8 MB, free: 5 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.417/1.417, allocations: 223.3 MB / 240.8 MB, free: 11.69 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.0008739/0.000874, allocations: 105.5 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0478/0.0478, allocations: 8.102 MB / 351.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 15.98 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09341, allocations: 52.51 MB / 466.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2901/0.3836, allocations: 79.31 MB / 0.5334 GB, free: 6.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.3838, allocations: 59.05 kB / 0.5334 GB, free: 6.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.3987, allocations: 5.819 MB / 0.5391 GB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3987, allocations: 0 / 0.5391 GB, free: 1.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3987, allocations: 0 / 0.5391 GB, free: 1.461 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001096/0.3998, allocations: 0.5275 MB / 0.5396 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3999, allocations: 8.031 kB / 0.5397 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.4, allocations: 20.75 kB / 0.5397 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.4002, allocations: 229.8 kB / 0.5399 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4002, allocations: 8.484 kB / 0.5399 GB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.4003, allocations: 11.62 kB / 0.5399 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.4006, allocations: 179.3 kB / 0.5401 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4006, allocations: 0 / 0.5401 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.4006, allocations: 11.06 kB / 0.5401 GB, free: 500 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4006, allocations: 0 / 0.5401 GB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.4008, allocations: 164.1 kB / 0.5403 GB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4019, allocations: 0.7442 MB / 0.541 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.4024, allocations: 207.3 kB / 0.5412 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.4026, allocations: 95.22 kB / 0.5413 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.4027, allocations: 85.09 kB / 0.5413 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4027, allocations: 34 kB / 0.5414 GB, free: 15.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.4027, allocations: 7.938 kB / 0.5414 GB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001634/0.4044, allocations: 0.5706 MB / 0.5419 GB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.4044, allocations: 59.41 kB / 0.542 GB, free: 14.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4046, allocations: 174.3 kB / 0.5422 GB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4046, allocations: 29.58 kB / 0.5422 GB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.4047, allocations: 109.9 kB / 0.5423 GB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4048, allocations: 53.33 kB / 0.5424 GB, free: 14.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.4048, allocations: 2.875 kB / 0.5424 GB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4049, allocations: 324.3 kB / 0.5427 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.405, allocations: 85.61 kB / 0.5427 GB, free: 14.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4051, allocations: 84.55 kB / 0.5428 GB, free: 14.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.4054, allocations: 190.2 kB / 0.543 GB, free: 14.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4054, allocations: 0 / 0.543 GB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007364/0.4061, allocations: 353.2 kB / 0.5433 GB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4062, allocations: 11.98 kB / 0.5434 GB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4062, allocations: 7.938 kB / 0.5434 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.4068, allocations: 133.3 kB / 0.5435 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4069, allocations: 27.17 kB / 0.5435 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.4091, allocations: 1.877 MB / 0.5453 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.4092, allocations: 11.88 kB / 0.5454 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4093, allocations: 8.062 kB / 0.5454 GB, free: 11.95 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.4094, allocations: 129 kB / 0.5455 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.4094, allocations: 19.8 kB / 0.5455 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/0.4103, allocations: 372.9 kB / 0.5459 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4103, allocations: 0 / 0.5459 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4103, allocations: 0 / 0.5459 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4103, allocations: 0 / 0.5459 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.4106, allocations: 315.6 kB / 0.5462 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4106, allocations: 0 / 0.5462 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.4107, allocations: 27.17 kB / 0.5462 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005736/0.4113, allocations: 135.7 kB / 0.5463 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4113, allocations: 7.438 kB / 0.5463 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.4133, allocations: 1.877 MB / 0.5482 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4133, allocations: 0 / 0.5482 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.4141, allocations: 434.8 kB / 0.5486 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.4142, allocations: 92.91 kB / 0.5487 GB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.4142, allocations: 7.938 kB / 0.5487 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.4144, allocations: 8 kB / 0.5487 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.4145, allocations: 27.89 kB / 0.5487 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.4145, allocations: 7.938 kB / 0.5487 GB, free: 8.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.4146, allocations: 133.2 kB / 0.5488 GB, free: 8.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4146, allocations: 4 kB / 0.5488 GB, free: 8.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000347/0.415, allocations: 63.94 kB / 0.5489 GB, free: 8.465 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001786/0.4152, allocations: 119.2 kB / 0.549 GB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.4159, allocations: 355 kB / 0.5494 GB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4159, allocations: 0 / 0.5494 GB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.4164, allocations: 270.5 kB / 0.5496 GB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4167, allocations: 12 kB / 0.5496 GB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.4174, allocations: 409.2 kB / 0.55 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.4178, allocations: 0.7167 MB / 0.5507 GB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.865e-05/0.4179, allocations: 21.41 kB / 0.5507 GB, free: 6.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.418, allocations: 19.42 kB / 0.5508 GB, free: 6.484 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.418, allocations: 0 / 0.5508 GB, free: 6.484 MB / 362.7 MB Notification: Performance of Templates: time 0.006905/0.4249, allocations: 3.624 MB / 0.5543 GB, free: 2.887 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)