Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001011/0.001011, allocations: 178.8 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.56/1.56, allocations: 194.5 MB / 212.6 MB, free: 2.859 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001633/0.001633, allocations: 115.8 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1666/0.1666, allocations: 38.01 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003722, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4675, allocations: 89.21 MB / 0.5346 GB, free: 5.602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4677, allocations: 94.33 kB / 0.5347 GB, free: 5.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.4817, allocations: 6.123 MB / 0.5407 GB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4818, allocations: 0 / 0.5407 GB, free: 292 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4818, allocations: 4 kB / 0.5407 GB, free: 288 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007041/0.4825, allocations: 0.5253 MB / 0.5412 GB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4825, allocations: 16.03 kB / 0.5412 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.4826, allocations: 28.56 kB / 0.5413 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.4835, allocations: 463.3 kB / 0.5417 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4835, allocations: 12.56 kB / 0.5417 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.4836, allocations: 30.5 kB / 0.5417 GB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.4839, allocations: 266.4 kB / 0.542 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.484, allocations: 11.81 kB / 0.542 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.484, allocations: 10.5 kB / 0.542 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.484, allocations: 16 kB / 0.542 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.4843, allocations: 155.6 kB / 0.5422 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.4857, allocations: 1.168 MB / 0.5433 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.4859, allocations: 81.36 kB / 0.5434 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.486, allocations: 27.75 kB / 0.5434 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.486, allocations: 4 kB / 0.5434 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.486, allocations: 34.56 kB / 0.5435 GB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.486, allocations: 0 / 0.5435 GB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007426/0.4868, allocations: 417.4 kB / 0.5439 GB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.4869, allocations: 77.11 kB / 0.5439 GB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.4871, allocations: 249.3 kB / 0.5442 GB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.4871, allocations: 29.02 kB / 0.5442 GB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4873, allocations: 183.5 kB / 0.5444 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4873, allocations: 31.42 kB / 0.5444 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.4873, allocations: 3.938 kB / 0.5444 GB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4875, allocations: 330.4 kB / 0.5447 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.4875, allocations: 31.73 kB / 0.5448 GB, free: 12.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4876, allocations: 129.1 kB / 0.5449 GB, free: 12.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.4878, allocations: 161.7 kB / 0.545 GB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4878, allocations: 0 / 0.545 GB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002858/0.4881, allocations: 185.6 kB / 0.5452 GB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4882, allocations: 4 kB / 0.5452 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4882, allocations: 4 kB / 0.5452 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4882, allocations: 4 kB / 0.5452 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.4884, allocations: 39.92 kB / 0.5453 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4884, allocations: 8 kB / 0.5453 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4885, allocations: 15.08 kB / 0.5453 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4885, allocations: 11.94 kB / 0.5453 GB, free: 11.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001503/0.4887, allocations: 155.8 kB / 0.5454 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.4887, allocations: 15.81 kB / 0.5455 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.4889, allocations: 95.39 kB / 0.5456 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4889, allocations: 0 / 0.5456 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4889, allocations: 0 / 0.5456 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4889, allocations: 3.984 kB / 0.5456 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.4893, allocations: 429.9 kB / 0.546 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4894, allocations: 0 / 0.546 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.4895, allocations: 19.47 kB / 0.546 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4895, allocations: 4 kB / 0.546 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4895, allocations: 0 / 0.546 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4895, allocations: 7.922 kB / 0.546 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4895, allocations: 7.938 kB / 0.546 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.4897, allocations: 227.2 kB / 0.5462 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4898, allocations: 96.86 kB / 0.5463 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.4898, allocations: 0 / 0.5463 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.4899, allocations: 11.75 kB / 0.5463 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.49, allocations: 11.92 kB / 0.5463 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.49, allocations: 4 kB / 0.5463 GB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.4901, allocations: 164.5 kB / 0.5465 GB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4901, allocations: 0 / 0.5465 GB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000307/0.4904, allocations: 47.06 kB / 0.5465 GB, free: 10.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001416/0.4906, allocations: 107.2 kB / 0.5466 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4908, allocations: 83.73 kB / 0.5467 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4908, allocations: 0 / 0.5467 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.4908, allocations: 34.06 kB / 0.5468 GB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.4913, allocations: 56.33 kB / 0.5468 GB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.4922, allocations: 0.6051 MB / 0.5474 GB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4926, allocations: 0.7595 MB / 0.5481 GB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.4927, allocations: 34.22 kB / 0.5482 GB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.4928, allocations: 22.75 kB / 0.5482 GB, free: 8.742 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4928, allocations: 0 / 0.5482 GB, free: 8.742 MB / 362.7 MB Notification: Performance of Templates: time 0.004462/0.4973, allocations: 1.643 MB / 0.5498 GB, free: 7.113 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)