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.001461/0.001461, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.464/1.464, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001601/0.001602, allocations: 120.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1589/0.1589, allocations: 37.94 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.412e-05, allocations: 4 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 53.22 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.5417, allocations: 98.82 MB / 0.5297 GB, free: 91.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.542, allocations: 88.86 kB / 0.5298 GB, free: 91.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04595/0.588, allocations: 17.31 MB / 0.5467 GB, free: 82.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.588, allocations: 7.938 kB / 0.5467 GB, free: 82.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.5881, allocations: 12 kB / 0.5467 GB, free: 82.57 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.00133/0.5894, allocations: 0.7697 MB / 0.5475 GB, free: 81.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5895, allocations: 8.031 kB / 0.5475 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.5907, allocations: 143.1 kB / 0.5476 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.594, allocations: 1.198 MB / 0.5488 GB, free: 80.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.5941, allocations: 16 kB / 0.5488 GB, free: 80.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5942, allocations: 31.91 kB / 0.5488 GB, free: 80.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007673/0.595, allocations: 0.518 MB / 0.5493 GB, free: 79.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.5959, allocations: 0.784 MB / 0.5501 GB, free: 78.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.5959, allocations: 3.938 kB / 0.5501 GB, free: 78.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.596, allocations: 7.938 kB / 0.5501 GB, free: 78.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.5962, allocations: 32.77 kB / 0.5501 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009624/0.6058, allocations: 5.681 MB / 0.5557 GB, free: 73.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.6066, allocations: 0.7288 MB / 0.5564 GB, free: 72.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.6071, allocations: 0.6279 MB / 0.557 GB, free: 71.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.6072, allocations: 12.34 kB / 0.557 GB, free: 71.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.6073, allocations: 42.89 kB / 0.557 GB, free: 71.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.286e-06/0.6073, allocations: 0 / 0.557 GB, free: 71.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01449/0.6218, allocations: 5.233 MB / 0.5622 GB, free: 66.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.6218, allocations: 85.53 kB / 0.5622 GB, free: 66.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.6222, allocations: 333.1 kB / 0.5626 GB, free: 65.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.6224, allocations: 26.45 kB / 0.5626 GB, free: 65.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6225, allocations: 323.7 kB / 0.5629 GB, free: 65.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.6227, allocations: 256.9 kB / 0.5631 GB, free: 65.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.6228, allocations: 4 kB / 0.5631 GB, free: 65.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.6229, allocations: 362.8 kB / 0.5635 GB, free: 64.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.6237, allocations: 0.7752 MB / 0.5642 GB, free: 64.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.6245, allocations: 0.9867 MB / 0.5652 GB, free: 63.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6255, allocations: 0.8865 MB / 0.5661 GB, free: 62.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6256, allocations: 3.938 kB / 0.5661 GB, free: 62.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0149/0.6405, allocations: 5.306 MB / 0.5713 GB, free: 56.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.6405, allocations: 10.03 kB / 0.5713 GB, free: 56.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01086/0.6514, allocations: 4.195 MB / 0.5754 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/0.6676, allocations: 5.784 MB / 0.581 GB, free: 46.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.6682, allocations: 123.7 kB / 0.5811 GB, free: 46.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/0.6807, allocations: 10.44 MB / 0.5913 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.6815, allocations: 39.94 kB / 0.5914 GB, free: 36.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.6817, allocations: 167.7 kB / 0.5915 GB, free: 36.03 MB / 378.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 () * 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.0002414/0.6819, allocations: 136.5 kB / 0.5917 GB, free: 35.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.682, allocations: 47.44 kB / 0.5917 GB, free: 35.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.6944, allocations: 4.021 MB / 0.5956 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.6945, allocations: 8 kB / 0.5956 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6946, allocations: 0 / 0.5956 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.6946, allocations: 7.984 kB / 0.5956 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.7091, allocations: 5.352 MB / 0.6009 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.7091, allocations: 0 / 0.6009 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.7094, allocations: 59.91 kB / 0.6009 GB, free: 26.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02315/0.7326, allocations: 7.861 MB / 0.6086 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000391/0.733, allocations: 231.8 kB / 0.6088 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.747, allocations: 13.36 MB / 0.6219 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7471, allocations: 4 kB / 0.6219 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.76, allocations: 4.476 MB / 0.6262 GB, free: 88 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.7602, allocations: 120.5 kB / 0.6264 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/0.7606, allocations: 183.9 kB / 0.6265 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.7611, allocations: 31.95 kB / 0.6266 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/0.7617, allocations: 152.2 kB / 0.6267 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/0.7619, allocations: 167.8 kB / 0.6269 GB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003252/0.7623, allocations: 247 kB / 0.6271 GB, free: 15.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7623, allocations: 4 kB / 0.6271 GB, free: 15.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001444/0.7637, allocations: 372 kB / 0.6275 GB, free: 14.82 MB / 394.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 () * 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.0003065/0.764, allocations: 151 kB / 0.6276 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004372/0.7684, allocations: 2.341 MB / 0.6299 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7684, allocations: 0 / 0.6299 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003434/0.7719, allocations: 1.526 MB / 0.6314 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.7726, allocations: 109.8 kB / 0.6315 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.7773, allocations: 3.237 MB / 0.6347 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.778, allocations: 0.9852 MB / 0.6356 GB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004263/0.7784, allocations: 144.8 kB / 0.6358 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.7785, allocations: 35.44 kB / 0.6358 GB, free: 6.164 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7785, allocations: 0 / 0.6358 GB, free: 6.164 MB / 394.7 MB Notification: Performance of Templates: time 0.04575/0.8243, allocations: 32.23 MB / 0.6673 GB, free: 5.895 MB / 426.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)