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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.4 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1691/0.1691, allocations: 38.02 MB / 329.3 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 66.48 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.174, allocations: 58.06 MB / 456.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.01059/0.1846, allocations: 6.022 MB / 462.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.1896, allocations: 2.022 MB / 464.2 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.1902, allocations: 35.75 kB / 464.2 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1919, allocations: 417.8 kB / 464.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.1928, allocations: 274.8 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.194, allocations: 331.4 kB / 465.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.1955, allocations: 1.076 MB / 466.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.1963, allocations: 353.7 kB / 466.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.1969, allocations: 294.8 kB / 466.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008669/0.1978, allocations: 474.6 kB / 467.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1979, allocations: 32 kB / 467.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.1984, allocations: 171.7 kB / 467.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.1988, allocations: 263.3 kB / 467.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.1994, allocations: 318.4 kB / 468.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.2006, allocations: 0.7943 MB / 469 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2007, allocations: 0 / 469 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2007, allocations: 0 / 469 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2007, allocations: 0 / 469 MB, free: 11.64 MB / 350.1 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.002562/0.2033, allocations: 0.9175 MB / 469.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.2033, allocations: 8.031 kB / 469.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.2048, allocations: 140 kB / 470 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2061, allocations: 0.508 MB / 470.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.2062, allocations: 41.11 kB / 470.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/0.2068, allocations: 123.9 kB / 470.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.2082, allocations: 0.8626 MB / 471.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2082, allocations: 3.906 kB / 471.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.2083, allocations: 20 kB / 471.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004315/0.2088, allocations: 72.88 kB / 471.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.2097, allocations: 0.6205 MB / 472.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.2142, allocations: 3.788 MB / 476.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2154, allocations: 0.5382 MB / 476.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.2159, allocations: 323 kB / 476.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.2159, allocations: 16.41 kB / 476.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.216, allocations: 42.94 kB / 477 MB, free: 3.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.766e-06/0.216, allocations: 0 / 477 MB, free: 3.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.003158/0.2192, allocations: 1.842 MB / 478.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.2192, allocations: 85.67 kB / 478.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.2197, allocations: 417.8 kB / 479.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.2198, allocations: 37.7 kB / 479.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.22, allocations: 323.7 kB / 479.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.2202, allocations: 201.2 kB / 479.8 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.2204, allocations: 146.2 kB / 480 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2206, allocations: 370.7 kB / 480.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.2211, allocations: 381.5 kB / 480.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.2218, allocations: 0.5979 MB / 481.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.2232, allocations: 1.072 MB / 482.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2232, allocations: 0 / 482.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004338/0.2275, allocations: 1.999 MB / 484.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.2276, allocations: 8 kB / 484.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.2276, allocations: 12 kB / 484.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.2301, allocations: 0.9732 MB / 485.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.2306, allocations: 119.8 kB / 485.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.2409, allocations: 7.373 MB / 492.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.2416, allocations: 35.91 kB / 492.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.2417, allocations: 32 kB / 492.9 MB, free: 2.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004644/0.2421, allocations: 249.6 kB / 493.2 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2422, allocations: 63.27 kB / 493.2 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.2436, allocations: 0.718 MB / 494 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2436, allocations: 7.984 kB / 494 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2436, allocations: 4 kB / 494 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2436, allocations: 0 / 494 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.2461, allocations: 1.521 MB / 495.5 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2462, allocations: 4.078 kB / 495.5 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.2472, allocations: 183.9 kB / 495.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.2473, allocations: 8 kB / 495.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.2473, allocations: 27.98 kB / 495.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.2473, allocations: 0 / 495.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2473, allocations: 7.984 kB / 495.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.2488, allocations: 0.997 MB / 496.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2489, allocations: 132.4 kB / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.249, allocations: 24 kB / 496.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.2494, allocations: 27.97 kB / 496.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2495, allocations: 32.52 kB / 496.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.2496, allocations: 19.98 kB / 497 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.2499, allocations: 287.1 kB / 497.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2499, allocations: 0 / 497.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008995/0.2508, allocations: 208 kB / 497.4 MB, free: 14.07 MB / 382.1 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.251, allocations: 131.1 kB / 497.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.2536, allocations: 1.462 MB / 499 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2536, allocations: 4.062 kB / 499 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.2541, allocations: 306.2 kB / 499.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.2548, allocations: 117.7 kB / 499.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.2592, allocations: 2.927 MB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.2599, allocations: 0.9843 MB / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.2604, allocations: 196.6 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.2606, allocations: 43.42 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.2606, allocations: 0 / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Templates: time 0.2388/0.4994, allocations: 10.37 MB / 0.5019 GB, free: 55.19 MB / 382.1 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)