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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001076/0.001076, allocations: 190 kB / 8.14 MB, free: 0.8672 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.151/1.151, allocations: 194.2 MB / 202.8 MB, free: 1.992 MB / 162.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001716/0.001716, allocations: 120.4 kB / 247.8 MB, free: 5 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1588/0.1588, allocations: 37.9 MB / 330.5 MB, free: 7.105 MB / 242.8 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.51e-06, allocations: 0 / 389.8 MB, free: 20.2 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09269, allocations: 53.22 MB / 443 MB, free: 14.95 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.3716, allocations: 99.19 MB / 0.5295 GB, free: 9.957 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3719, allocations: 92.56 kB / 0.5296 GB, free: 9.91 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.04712/0.419, allocations: 16.97 MB / 0.5462 GB, free: 11.56 MB / 386.8 MB Notification: Performance of Transformations before backend: time 3.184e-05/0.4191, allocations: 11.98 kB / 0.5462 GB, free: 11.55 MB / 386.8 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.001533/0.4206, allocations: 0.7641 MB / 0.5469 GB, free: 10.78 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4207, allocations: 8.031 kB / 0.5469 GB, free: 10.77 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.4218, allocations: 147 kB / 0.5471 GB, free: 10.62 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.425, allocations: 1.202 MB / 0.5482 GB, free: 9.586 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4251, allocations: 12.75 kB / 0.5482 GB, free: 9.574 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.4252, allocations: 35.91 kB / 0.5483 GB, free: 9.539 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000792/0.426, allocations: 0.5281 MB / 0.5488 GB, free: 9.188 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.4271, allocations: 0.7947 MB / 0.5496 GB, free: 8.512 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4271, allocations: 7.844 kB / 0.5496 GB, free: 8.504 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.4272, allocations: 7.984 kB / 0.5496 GB, free: 8.496 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/0.4274, allocations: 36.75 kB / 0.5496 GB, free: 8.461 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.4383, allocations: 5.532 MB / 0.555 GB, free: 3.625 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.4392, allocations: 0.711 MB / 0.5557 GB, free: 3.215 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.4398, allocations: 0.6325 MB / 0.5563 GB, free: 2.879 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.4399, allocations: 7.375 kB / 0.5563 GB, free: 2.875 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.44, allocations: 46.34 kB / 0.5564 GB, free: 2.824 MB / 386.8 MB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/0.44, allocations: 0 / 0.5564 GB, free: 2.824 MB / 386.8 MB Notification: Performance of matching and sorting (n=53): time 0.01574/0.4557, allocations: 4.821 MB / 0.5611 GB, free: 14.86 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.4558, allocations: 81.55 kB / 0.5612 GB, free: 14.76 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.4562, allocations: 323.7 kB / 0.5615 GB, free: 14.49 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4563, allocations: 25.7 kB / 0.5615 GB, free: 14.46 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.4565, allocations: 274.4 kB / 0.5618 GB, free: 14.21 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.4568, allocations: 255.8 kB / 0.562 GB, free: 14 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.4569, allocations: 4.031 kB / 0.562 GB, free: 14 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.457, allocations: 368.3 kB / 0.5624 GB, free: 13.65 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009964/0.458, allocations: 0.7862 MB / 0.5631 GB, free: 13.15 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.4591, allocations: 0.9856 MB / 0.5641 GB, free: 12.38 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.4604, allocations: 0.8896 MB / 0.565 GB, free: 11.78 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4604, allocations: 4 kB / 0.565 GB, free: 11.77 MB / 402.8 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01755/0.4779, allocations: 4.835 MB / 0.5697 GB, free: 7.508 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.478, allocations: 4 kB / 0.5697 GB, free: 7.504 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01296/0.4909, allocations: 3.87 MB / 0.5735 GB, free: 3.625 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01936/0.5104, allocations: 5.27 MB / 0.5786 GB, free: 14.34 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.5109, allocations: 115.8 kB / 0.5787 GB, free: 14.23 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.5274, allocations: 9.807 MB / 0.5883 GB, free: 4.305 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/0.5283, allocations: 27.97 kB / 0.5883 GB, free: 4.277 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/0.5287, allocations: 175.9 kB / 0.5885 GB, free: 4.105 MB / 418.8 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.0003966/0.5291, allocations: 144.4 kB / 0.5886 GB, free: 3.957 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.5293, allocations: 47.44 kB / 0.5887 GB, free: 3.91 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.5433, allocations: 3.575 MB / 0.5922 GB, free: 324 kB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.5433, allocations: 8 kB / 0.5922 GB, free: 316 kB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5434, allocations: 0 / 0.5922 GB, free: 316 kB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.5434, allocations: 3.984 kB / 0.5922 GB, free: 312 kB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.5605, allocations: 4.917 MB / 0.597 GB, free: 11.32 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.5605, allocations: 0 / 0.597 GB, free: 11.32 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.5609, allocations: 59.91 kB / 0.597 GB, free: 11.26 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02638/0.5873, allocations: 6.618 MB / 0.6035 GB, free: 4.617 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004271/0.5878, allocations: 235.8 kB / 0.6037 GB, free: 4.387 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/0.6048, allocations: 11.5 MB / 0.615 GB, free: 8.656 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6049, allocations: 0 / 0.615 GB, free: 8.656 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0146/0.6195, allocations: 4.059 MB / 0.6189 GB, free: 4.516 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.6197, allocations: 124.5 kB / 0.619 GB, free: 4.375 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/0.6202, allocations: 183.9 kB / 0.6192 GB, free: 4.195 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.6208, allocations: 19.98 kB / 0.6192 GB, free: 4.176 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.621, allocations: 76.22 kB / 0.6193 GB, free: 4.102 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/0.6212, allocations: 187.9 kB / 0.6195 GB, free: 3.918 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0003027/0.6215, allocations: 235.2 kB / 0.6197 GB, free: 3.688 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.001541/0.6231, allocations: 347.9 kB / 0.6201 GB, free: 3.348 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0004246/0.6235, allocations: 148 kB / 0.6202 GB, free: 3.191 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.004651/0.6282, allocations: 2.25 MB / 0.6224 GB, free: 0.9102 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6282, allocations: 0.5625 kB / 0.6224 GB, free: 0.9102 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003807/0.632, allocations: 1.474 MB / 0.6238 GB, free: 15.41 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.6328, allocations: 110 kB / 0.6239 GB, free: 15.3 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/0.6392, allocations: 3.306 MB / 0.6272 GB, free: 11.95 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000767/0.64, allocations: 1.003 MB / 0.6281 GB, free: 10.92 MB / 466.8 MB Notification: Performance of SimCode: time 7.21e-07/0.64, allocations: 0 / 0.6281 GB, free: 10.92 MB / 466.8 MB Notification: Performance of Templates: time 0.1492/0.7893, allocations: 30.15 MB / 0.6576 GB, free: 201.7 MB / 466.8 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)