Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 187.5 kB / 17.4 MB, free: 4.391 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.606/1.606, allocations: 194.5 MB / 212.6 MB, free: 2.938 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.001608/0.001608, allocations: 124.7 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1889/0.1889, allocations: 38 MB / 341.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09131, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4314, allocations: 99.6 MB / 0.5448 GB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4317, allocations: 102.8 kB / 0.5449 GB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0505/0.4822, allocations: 17.44 MB / 0.5619 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4823, allocations: 0 / 0.5619 GB, free: 12.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.4823, allocations: 12 kB / 0.5619 GB, free: 12.52 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00231/0.4847, allocations: 0.8576 MB / 0.5628 GB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4847, allocations: 8.031 kB / 0.5628 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.4859, allocations: 140.1 kB / 0.5629 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.4878, allocations: 0.7932 MB / 0.5637 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.4878, allocations: 34.48 kB / 0.5637 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.488, allocations: 54.31 kB / 0.5638 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.4896, allocations: 0.8534 MB / 0.5646 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.4896, allocations: 7.844 kB / 0.5646 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.4897, allocations: 21.75 kB / 0.5646 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.4899, allocations: 30.3 kB / 0.5647 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.4908, allocations: 0.603 MB / 0.5652 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.5018, allocations: 5.775 MB / 0.5709 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5029, allocations: 0.7656 MB / 0.5716 GB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/0.5037, allocations: 0.6583 MB / 0.5723 GB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.5038, allocations: 8.422 kB / 0.5723 GB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.5038, allocations: 42.44 kB / 0.5723 GB, free: 3.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.627e-06/0.5038, allocations: 0 / 0.5723 GB, free: 3.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01914/0.523, allocations: 6.417 MB / 0.5786 GB, free: 14.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.5231, allocations: 85.58 kB / 0.5787 GB, free: 14.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.5237, allocations: 403.5 kB / 0.5791 GB, free: 13.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.5239, allocations: 36.64 kB / 0.5791 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.5241, allocations: 316 kB / 0.5794 GB, free: 13.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.5244, allocations: 261 kB / 0.5796 GB, free: 13.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.5245, allocations: 14.12 kB / 0.5797 GB, free: 13.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5247, allocations: 369.6 kB / 0.58 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5258, allocations: 0.7984 MB / 0.5808 GB, free: 12.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.527, allocations: 1.013 MB / 0.5818 GB, free: 11.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.5294, allocations: 1.92 MB / 0.5837 GB, free: 10.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.5295, allocations: 8 kB / 0.5837 GB, free: 10.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01561/0.5451, allocations: 5.392 MB / 0.5889 GB, free: 5.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.5452, allocations: 8 kB / 0.5889 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01152/0.5567, allocations: 4.267 MB / 0.5931 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/0.5739, allocations: 5.85 MB / 0.5988 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.5747, allocations: 119.8 kB / 0.5989 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.593, allocations: 10.94 MB / 0.6096 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.5938, allocations: 59.92 kB / 0.6097 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.5941, allocations: 167.9 kB / 0.6098 GB, free: 15.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007093/0.5949, allocations: 253.6 kB / 0.6101 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.5951, allocations: 51.34 kB / 0.6101 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.6082, allocations: 4.08 MB / 0.6141 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.702e-05/0.6083, allocations: 8 kB / 0.6141 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6084, allocations: 3.938 kB / 0.6141 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.6084, allocations: 3.984 kB / 0.6141 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.6241, allocations: 5.488 MB / 0.6195 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.6242, allocations: 4 kB / 0.6195 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.6246, allocations: 59.89 kB / 0.6195 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02462/0.6492, allocations: 7.97 MB / 0.6273 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/0.6497, allocations: 231.8 kB / 0.6275 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.6691, allocations: 13.66 MB / 0.6409 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.6692, allocations: 4 kB / 0.6409 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.6827, allocations: 4.506 MB / 0.6453 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.683, allocations: 128.4 kB / 0.6454 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005476/0.6836, allocations: 187.9 kB / 0.6456 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/0.6844, allocations: 43.94 kB / 0.6456 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007514/0.6851, allocations: 140.2 kB / 0.6458 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/0.6854, allocations: 168 kB / 0.6459 GB, free: 10.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004215/0.6858, allocations: 275.1 kB / 0.6462 GB, free: 10.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6859, allocations: 0 / 0.6462 GB, free: 10.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002018/0.6879, allocations: 388.1 kB / 0.6466 GB, free: 9.719 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004836/0.6884, allocations: 166.6 kB / 0.6467 GB, free: 9.547 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004908/0.6933, allocations: 2.425 MB / 0.6491 GB, free: 7.086 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6933, allocations: 0 / 0.6491 GB, free: 7.086 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003519/0.6968, allocations: 1.583 MB / 0.6506 GB, free: 5.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/0.6979, allocations: 126.1 kB / 0.6508 GB, free: 5.348 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.7034, allocations: 3.99 MB / 0.6547 GB, free: 1.312 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.7041, allocations: 0.9652 MB / 0.6556 GB, free: 328 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.7046, allocations: 136.9 kB / 0.6557 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.7047, allocations: 43.42 kB / 0.6558 GB, free: 148 kB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.7047, allocations: 0 / 0.6558 GB, free: 148 kB / 458.7 MB Notification: Performance of Templates: time 0.2592/0.964, allocations: 33.01 MB / 0.688 GB, free: 151.7 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)