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.001037/0.001037, allocations: 179.1 kB / 16.38 MB, free: 5.762 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.194/1.194, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001522/0.001522, allocations: 118.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.159/0.159, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08061, allocations: 53.24 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3637, allocations: 99.58 MB / 0.5435 GB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.364, allocations: 94.25 kB / 0.5436 GB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04534/0.4094, allocations: 17.45 MB / 0.5607 GB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4094, allocations: 7.938 kB / 0.5607 GB, free: 12.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.4094, allocations: 15.06 kB / 0.5607 GB, free: 12.85 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.001546/0.411, allocations: 0.8499 MB / 0.5615 GB, free: 11.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.411, allocations: 12.02 kB / 0.5615 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.4121, allocations: 155.1 kB / 0.5617 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.4152, allocations: 1.212 MB / 0.5629 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.4153, allocations: 32.12 kB / 0.5629 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.4154, allocations: 54.48 kB / 0.563 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.4167, allocations: 0.8454 MB / 0.5638 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.4167, allocations: 11.84 kB / 0.5638 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.4168, allocations: 20.8 kB / 0.5638 GB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.4169, allocations: 43.41 kB / 0.5638 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/0.4178, allocations: 0.5957 MB / 0.5644 GB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.4282, allocations: 5.781 MB / 0.5701 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/0.4292, allocations: 0.7735 MB / 0.5708 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.4293, allocations: 12.45 kB / 0.5708 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4293, allocations: 38.73 kB / 0.5709 GB, free: 3.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.765e-06/0.4293, allocations: 4 kB / 0.5709 GB, free: 3.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01902/0.4483, allocations: 6.481 MB / 0.5772 GB, free: 14.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4484, allocations: 81.55 kB / 0.5773 GB, free: 14.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.4488, allocations: 358.1 kB / 0.5776 GB, free: 14.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.449, allocations: 36.64 kB / 0.5777 GB, free: 14.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.4491, allocations: 319.9 kB / 0.578 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.4494, allocations: 262 kB / 0.5782 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.4495, allocations: 10.62 kB / 0.5782 GB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4496, allocations: 373 kB / 0.5786 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009928/0.4506, allocations: 0.796 MB / 0.5794 GB, free: 12.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.4517, allocations: 1.008 MB / 0.5804 GB, free: 12.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.4528, allocations: 0.9022 MB / 0.5812 GB, free: 11.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4528, allocations: 4 kB / 0.5812 GB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01589/0.4687, allocations: 5.383 MB / 0.5865 GB, free: 7.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4688, allocations: 12.08 kB / 0.5865 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0118/0.4806, allocations: 4.266 MB / 0.5907 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/0.4987, allocations: 5.842 MB / 0.5964 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.4993, allocations: 119.8 kB / 0.5965 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/0.5166, allocations: 11.72 MB / 0.6079 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.5173, allocations: 63.89 kB / 0.608 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.5175, allocations: 163.9 kB / 0.6081 GB, free: 0.7109 MB / 410.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.0004895/0.518, allocations: 250.6 kB / 0.6084 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5182, allocations: 51.34 kB / 0.6084 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.5314, allocations: 4.072 MB / 0.6124 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/0.5315, allocations: 8 kB / 0.6124 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5315, allocations: 0 / 0.6124 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.5316, allocations: 3.984 kB / 0.6124 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.5477, allocations: 5.504 MB / 0.6178 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.5477, allocations: 8.094 kB / 0.6178 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.548, allocations: 51.91 kB / 0.6179 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02461/0.5727, allocations: 7.97 MB / 0.6256 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003957/0.5731, allocations: 235.8 kB / 0.6259 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/0.5912, allocations: 14.64 MB / 0.6402 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5912, allocations: 7.938 kB / 0.6402 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.6047, allocations: 4.549 MB / 0.6446 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.605, allocations: 120.5 kB / 0.6447 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.6053, allocations: 199.8 kB / 0.6449 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.6058, allocations: 43.94 kB / 0.645 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/0.6064, allocations: 136.2 kB / 0.6451 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/0.6066, allocations: 167.9 kB / 0.6452 GB, free: 10.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003237/0.6069, allocations: 267.1 kB / 0.6455 GB, free: 9.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6069, allocations: 7.938 kB / 0.6455 GB, free: 9.973 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001343/0.6083, allocations: 388 kB / 0.6459 GB, free: 9.594 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.0002974/0.6086, allocations: 159.1 kB / 0.646 GB, free: 9.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004386/0.613, allocations: 2.426 MB / 0.6484 GB, free: 6.969 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.613, allocations: 0 / 0.6484 GB, free: 6.969 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003249/0.6163, allocations: 1.591 MB / 0.65 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.6169, allocations: 106.3 kB / 0.6501 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.6222, allocations: 3.995 MB / 0.654 GB, free: 1.207 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.6228, allocations: 0.9812 MB / 0.6549 GB, free: 204 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.6232, allocations: 140.9 kB / 0.6551 GB, free: 60 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6233, allocations: 43.42 kB / 0.6551 GB, free: 16 kB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6234, allocations: 0 / 0.6551 GB, free: 16 kB / 458.7 MB Notification: Performance of Templates: time 0.2031/0.8265, allocations: 33.02 MB / 0.6873 GB, free: 151.2 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)